#8E9E2F#8E9E2F

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

Color values

HEX#8E9E2F
RGBrgb(142, 158, 47)
HSLhsl(69, 54%, 40%)
HSVhsv(69, 70%, 62%)
CMYKcmyk(10.1%, 0%, 70.3%, 38%)
CIE-LABlab(62.01, -20.66, 53.25)
CIE-LCHlch(62.01, 57.11, 111.21°)
OKLaboklab(66.54% -0.0616 0.1192)
OKLCHoklch(66.54% 0.134 117.3)
XYZxyz(23.8958, 30.4100, 7.2997)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E2F #3F2F9E
analogous
#9E772F #8E9E2F #569E2F
triadic
#8E9E2F #2F8E9E #9E2F8E
tetradic
#8E9E2F #2F9E77 #3F2F9E #9E2F56
square
#8E9E2F #2F9E77 #3F2F9E #9E2F56
split-complementary
#8E9E2F #2F569E #772F9E
monochromatic
#394013 #646F21 #8E9E2F #B4C743 #C7D572

Accessibility & contrast

On white

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

On black

7.08
#8E9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E2F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E2F#FFFFFF#000000##000000
##8E9E2F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9e2f;
/* rgb */ color: rgb(142, 158, 47);
/* oklch */ color: oklch(66.5% 0.134 117.3);
Tailwind
colors: {
  custom: {
    50: '#b2ba6f',
    500: '#8e9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e2f;
$custom-light: #b2ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e2f",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 68.649,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66538,
    "c": 0.13419,
    "h": 117.3
  },
  "luminance": 0.3041
}

Semantic roles & 50–950 ramp

primary
#8E9E2F
secondary
#786CBD
accent
#4ADE60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8E9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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