#8A9E24#8A9E24

#8A9E24 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.1% C 0.142 H 118.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A9E24
RGBrgb(138, 158, 36)
HSLhsl(70, 63%, 38%)
HSVhsv(70, 77%, 62%)
CMYKcmyk(12.7%, 0%, 77.2%, 38%)
CIE-LABlab(61.64, -22.96, 56.74)
CIE-LCHlch(61.64, 61.21, 112.03°)
OKLaboklab(66.15% -0.0687 0.1248)
OKLCHoklch(66.15% 0.142 118.8)
XYZxyz(23.0270, 29.9845, 6.2432)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E24 #38249E
analogous
#9E7524 #8A9E24 #4D9E24
triadic
#8A9E24 #248A9E #9E248A
tetradic
#8A9E24 #249E75 #38249E #9E244D
square
#8A9E24 #249E75 #38249E #9E244D
split-complementary
#8A9E24 #244D9E #75249E
monochromatic
#333A0D #5E6C19 #8A9E24 #B5D02F #C7DB61

Accessibility & contrast

On white

3.00
#8A9E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A9E24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E24
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E24#FFFFFF#000000##000000
##8A9E241.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99504
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e24;
/* rgb */ color: rgb(138, 158, 36);
/* oklch */ color: oklch(66.1% 0.142 118.8);
Tailwind
colors: {
  custom: {
    50: '#b0ba69',
    500: '#8a9e24',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e24;
$custom-light: #b0ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e24",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 69.836,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.14247,
    "h": 118.8
  },
  "luminance": 0.29984
}

Semantic roles & 50–950 ramp

primary
#8A9E24
secondary
#6E5EC0
accent
#42E65D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E24

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

Preview Lab → · Contrast checker → · Palette generator →

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