#8A9B24#8A9B24

#8A9B24 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.4% C 0.139 H 117.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9B24
RGBrgb(138, 155, 36)
HSLhsl(69, 62%, 37%)
HSVhsv(69, 77%, 61%)
CMYKcmyk(11%, 0%, 76.8%, 39.2%)
CIE-LABlab(60.76, -21.45, 55.92)
CIE-LCHlch(60.76, 59.89, 110.99°)
OKLaboklab(65.44% -0.0645 0.1231)
OKLCHoklch(65.44% 0.139 117.7)
XYZxyz(22.5216, 28.9736, 6.0747)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B24 #35249B
analogous
#9B7024 #8A9B24 #4F9B24
triadic
#8A9B24 #248A9B #9B248A
tetradic
#8A9B24 #249B70 #35249B #9B244F
square
#8A9B24 #249B70 #35249B #9B244F
split-complementary
#8A9B24 #244F9B #70249B
monochromatic
#32380D #5E6918 #8A9B24 #B6CD30 #C8DA5F

Accessibility & contrast

On white

3.09
#8A9B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A9B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B24
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B24#FFFFFF#000000##000000
##8A9B241.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69206
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b24;
/* rgb */ color: rgb(138, 155, 36);
/* oklch */ color: oklch(65.4% 0.139 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb869',
    500: '#8a9b24',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b24;
$custom-light: #afb869;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b24",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 68.571,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65438,
    "c": 0.13898,
    "h": 117.7
  },
  "luminance": 0.28973
}

Semantic roles & 50–950 ramp

primary
#8A9B24
secondary
#6A5CBF
accent
#42E55A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B24

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

Preview Lab → · Contrast checker → · Palette generator →

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