#8E9224#8E9224

#8E9224 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.7% C 0.128 H 111.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8E9224
RGBrgb(142, 146, 36)
HSLhsl(62, 60%, 36%)
HSVhsv(62, 75%, 57%)
CMYKcmyk(2.7%, 0%, 75.3%, 42.7%)
CIE-LABlab(58.45, -15.06, 53.87)
CIE-LCHlch(58.45, 55.94, 105.62°)
OKLaboklab(63.66% -0.047 0.1186)
OKLCHoklch(63.66% 0.128 111.6)
XYZxyz(21.7534, 26.4365, 5.6256)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9224 #282492
analogous
#925F24 #8E9224 #579224
triadic
#8E9224 #248E92 #92248E
tetradic
#8E9224 #24925F #282492 #922457
square
#8E9224 #24925F #282492 #922457
split-complementary
#8E9224 #245792 #5F2492
monochromatic
#2F300C #5E6118 #8E9224 #BEC330 #D2D65A

Accessibility & contrast

On white

3.34
#8E9224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8E9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9224
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9224#FFFFFF#000000##000000
##8E92241.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B0C
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#98897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e9224;
/* rgb */ color: rgb(142, 146, 36);
/* oklch */ color: oklch(63.7% 0.128 111.6);
Tailwind
colors: {
  custom: {
    50: '#b2b168',
    500: '#8e9224',
    950: '#000000',
  },
}
SCSS
$custom: #8e9224;
$custom-light: #b2b168;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9224",
  "rgb": {
    "r": 142,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 62.182,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.1276,
    "h": 111.6
  },
  "luminance": 0.26436
}

Semantic roles & 50–950 ramp

primary
#8E9224
secondary
#5B57BB
accent
#44E44A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E9224

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

Preview Lab → · Contrast checker → · Palette generator →

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