#7E893D

A color in the Yellow, Gold family

#7e893d is a color in the Yellow, Gold family: RGB(126, 137, 61), HSL(69°, 38%, 39%), CMYK(8%, 0%, 55%, 46%). Closest named color: olive. Contrast is 3.8:1 on white and 5.53:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e893d
RGBrgb(126 137 61)
RGB (legacy)rgb(126, 137, 61)
RGB %rgb(49% 54% 24%)
HSLhsl(69 38% 39%)
HSV / HSBhsv(69, 55%, 54%)
HWBhwb(69 24% 46%)
CMYKcmyk(8%, 0%, 55%, 46%)
CIELAB (D50)lab(54.93 -12.74 38.57)
LCHlch(54.93 40.62 108.27)
OKLaboklab(0.6043 -0.0451 0.0909)
OKLCHoklch(0.6043 0.1015 116.38)
Decimal8292669

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 3.7
Closest web-safe color#669933
Hue69°
Saturation (HSL / HSV)38% / 55%
Lightness (HSL)39%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)49% / 51%
Relative luminance (WCAG)0.2266
Red / Green / Blue126 / 137 / 61

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.80:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 65.4 / -36.2 · As background with white / black text: Lc -70.9 / 38.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7e893d;
  --color-brand-oklch: oklch(60.43% 0.1015 116.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 137 61 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e893d] text-[#7e893d] border-[#7e893d]">