#8E9124#8E9124

#8E9124 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.127 H 111.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8E9124
RGBrgb(142, 145, 36)
HSLhsl(62, 60%, 35%)
HSVhsv(62, 75%, 57%)
CMYKcmyk(2.1%, 0%, 75.2%, 43.1%)
CIE-LABlab(58.16, -14.53, 53.60)
CIE-LCHlch(58.16, 55.53, 105.17°)
OKLaboklab(63.43% -0.0456 0.118)
OKLCHoklch(63.43% 0.127 111.1)
XYZxyz(21.5999, 26.1295, 5.5744)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9124 #272491
analogous
#915D24 #8E9124 #589124
triadic
#8E9124 #248E91 #91248E
tetradic
#8E9124 #24915D #272491 #912458
square
#8E9124 #24915D #272491 #912458
split-complementary
#8E9124 #245891 #5D2491
monochromatic
#2E2F0C #5E6018 #8E9124 #BEC230 #D2D659

Accessibility & contrast

On white

3.37
#8E9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8E9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9124
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9124#FFFFFF#000000##000000
##8E91241.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9124;
/* rgb */ color: rgb(142, 145, 36);
/* oklch */ color: oklch(63.4% 0.127 111.1);
Tailwind
colors: {
  custom: {
    50: '#b2b168',
    500: '#8e9124',
    950: '#000000',
  },
}
SCSS
$custom: #8e9124;
$custom-light: #b2b168;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9124",
  "rgb": {
    "r": 142,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 61.651,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.12653,
    "h": 111.1
  },
  "luminance": 0.26129
}

Semantic roles & 50–950 ramp

primary
#8E9124
secondary
#5956BA
accent
#44E349
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9124

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

Preview Lab → · Contrast checker → · Palette generator →

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