#8E9E2A#8E9E2A

#8E9E2A is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.137 H 117.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8E9E2A
RGBrgb(142, 158, 42)
HSLhsl(68, 58%, 39%)
HSVhsv(68, 73%, 62%)
CMYKcmyk(10.1%, 0%, 73.4%, 38%)
CIE-LABlab(61.97, -20.94, 55.09)
CIE-LCHlch(61.97, 58.94, 110.81°)
OKLaboklab(66.5% -0.0628 0.1223)
OKLCHoklch(66.5% 0.137 117.2)
XYZxyz(23.8007, 30.3719, 6.7986)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E2A #3A2A9E
analogous
#9E742A #8E9E2A #549E2A
triadic
#8E9E2A #2A8E9E #9E2A8E
tetradic
#8E9E2A #2A9E74 #3A2A9E #9E2A54
square
#8E9E2A #2A9E74 #3A2A9E #9E2A54
split-complementary
#8E9E2A #2A549E #742A9E
monochromatic
#373D10 #636E1D #8E9E2A #B7CB3A #C9D86B

Accessibility & contrast

On white

2.97
#8E9E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8E9E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E2A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E2A#FFFFFF#000000##000000
##8E9E2A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#979588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9e2a;
/* rgb */ color: rgb(142, 158, 42);
/* oklch */ color: oklch(66.5% 0.137 117.2);
Tailwind
colors: {
  custom: {
    50: '#b2ba6c',
    500: '#8e9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e2a;
$custom-light: #b2ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e2a",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 68.276,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66502,
    "c": 0.13747,
    "h": 117.2
  },
  "luminance": 0.30372
}

Semantic roles & 50–950 ramp

primary
#8E9E2A
secondary
#7266BE
accent
#47E15C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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