#8E9B2F#8E9B2F

#8E9B2F is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.8% C 0.131 H 116.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8E9B2F
RGBrgb(142, 155, 47)
HSLhsl(67, 53%, 40%)
HSVhsv(67, 70%, 61%)
CMYKcmyk(8.4%, 0%, 69.7%, 39.2%)
CIE-LABlab(61.13, -19.14, 52.37)
CIE-LCHlch(61.13, 55.76, 110.07°)
OKLaboklab(65.84% -0.0573 0.1174)
OKLCHoklch(65.84% 0.131 116)
XYZxyz(23.3903, 29.3990, 7.1312)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9B2F #3C2F9B
analogous
#9B722F #8E9B2F #589B2F
triadic
#8E9B2F #2F8E9B #9B2F8E
tetradic
#8E9B2F #2F9B72 #3C2F9B #9B2F58
square
#8E9B2F #2F9B72 #3C2F9B #9B2F58
split-complementary
#8E9B2F #2F589B #722F9B
monochromatic
#383D13 #636C21 #8E9B2F #B6C642 #C8D471

Accessibility & contrast

On white

3.05
#8E9B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8E9B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9B2F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9B2F#FFFFFF#000000##000000
##8E9B2F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#979286
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8e9b2f;
/* rgb */ color: rgb(142, 155, 47);
/* oklch */ color: oklch(65.8% 0.131 116.0);
Tailwind
colors: {
  custom: {
    50: '#b2b86e',
    500: '#8e9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e9b2f;
$custom-light: #b2b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9b2f",
  "rgb": {
    "r": 142,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 67.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.13064,
    "h": 116
  },
  "luminance": 0.29399
}

Semantic roles & 50–950 ramp

primary
#8E9B2F
secondary
#746ABB
accent
#4BDD5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8E9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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