#838C19

A color in the Yellow, Gold family

#838c19 is a color in the Yellow, Gold family: RGB(131, 140, 25), HSL(65°, 70%, 32%), CMYK(6%, 0%, 82%, 45%). Closest named color: olivedrab. Contrast is 3.66:1 on white and 5.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#838c19
RGBrgb(131 140 25)
RGB (legacy)rgb(131, 140, 25)
RGB %rgb(51% 55% 10%)
HSLhsl(65 70% 32%)
HSV / HSBhsv(65, 82%, 55%)
HWBhwb(65 10% 45%)
CMYKcmyk(6%, 0%, 82%, 45%)
CIELAB (D50)lab(56 -13.69 54.01)
LCHlch(56 55.72 104.22)
OKLaboklab(0.6125 -0.0536 0.1185)
OKLCHoklch(0.6125 0.1301 114.33)
Decimal8621081

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 3.2
Closest web-safe color#999900
Hue65°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)32%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)49% / 51%
Relative luminance (WCAG)0.2365
Red / Green / Blue131 / 140 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.66:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.73: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 64.1 / -37.6 · As background with white / black text: Lc -69.6 / 40

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: #838c19;
  --color-brand-oklch: oklch(61.25% 0.1301 114.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 140 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#838c19] text-[#838c19] border-[#838c19]">