#8E8A24#8E8A24

#8E8A24 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.119 H 107.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8E8A24
RGBrgb(142, 138, 36)
HSLhsl(58, 60%, 35%)
HSVhsv(58, 75%, 56%)
CMYKcmyk(0%, 2.8%, 74.6%, 44.3%)
CIE-LABlab(56.14, -10.80, 51.69)
CIE-LCHlch(56.14, 52.81, 101.81°)
OKLaboklab(61.82% -0.0352 0.114)
OKLCHoklch(61.82% 0.119 107.1)
XYZxyz(20.5631, 24.0558, 5.2288)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A24 #24288E
analogous
#8E5524 #8E8A24 #5D8E24
triadic
#8E8A24 #248E8A #8A248E
tetradic
#8E8A24 #248E55 #24288E #8E245D
square
#8E8A24 #248E55 #24288E #8E245D
split-complementary
#8E8A24 #245D8E #55248E
monochromatic
#2C2B0B #5D5B18 #8E8A24 #BFB930 #D5D058

Accessibility & contrast

On white

3.61
#8E8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8E8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A24
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A24#FFFFFF#000000##000000
##8E8A241.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968410
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#998176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a24;
/* rgb */ color: rgb(142, 138, 36);
/* oklch */ color: oklch(61.8% 0.119 107.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8e8a24',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a24;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a24",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 57.736,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.11929,
    "h": 107.1
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#8E8A24
secondary
#5559B9
accent
#4BE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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