#8E9219#8E9219

#8E9219 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.133 H 111.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8E9219
RGBrgb(142, 146, 25)
HSLhsl(62, 71%, 34%)
HSVhsv(62, 83%, 57%)
CMYKcmyk(2.7%, 0%, 82.9%, 42.7%)
CIE-LABlab(58.40, -15.50, 57.26)
CIE-LCHlch(58.40, 59.32, 105.14°)
OKLaboklab(63.6% -0.0492 0.1238)
OKLCHoklch(63.6% 0.133 111.7)
XYZxyz(21.6105, 26.3793, 4.8729)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9219 #1D1992
analogous
#925919 #8E9219 #519219
triadic
#8E9219 #198E92 #92198E
tetradic
#8E9219 #199259 #1D1992 #921951
square
#8E9219 #199259 #1D1992 #921951
split-complementary
#8E9219 #195192 #591992
monochromatic
#282907 #5B5E10 #8E9219 #C1C622 #DADF46

Accessibility & contrast

On white

3.35
#8E9219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8E9219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9219
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9219#FFFFFF#000000##000000
##8E92191.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9F8E25
Tritanopia (blue-blind)
#98887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e9219;
/* rgb */ color: rgb(142, 146, 25);
/* oklch */ color: oklch(63.6% 0.133 111.7);
Tailwind
colors: {
  custom: {
    50: '#b3b163',
    500: '#8e9219',
    950: '#000000',
  },
}
SCSS
$custom: #8e9219;
$custom-light: #b3b163;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9219",
  "rgb": {
    "r": 142,
    "g": 146,
    "b": 25
  },
  "hsl": {
    "h": 61.983,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.63604,
    "c": 0.13319,
    "h": 111.7
  },
  "luminance": 0.26379
}

Semantic roles & 50–950 ramp

primary
#8E9219
secondary
#4A46C1
accent
#3AEE40
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9219

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E9219 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva