#8E9B2B#8E9B2B

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

Color values

HEX#8E9B2B
RGBrgb(142, 155, 43)
HSLhsl(67, 57%, 39%)
HSVhsv(67, 72%, 61%)
CMYKcmyk(8.4%, 0%, 72.3%, 39.2%)
CIE-LABlab(61.11, -19.36, 53.88)
CIE-LCHlch(61.11, 57.25, 109.77°)
OKLaboklab(65.81% -0.0584 0.1199)
OKLCHoklch(65.81% 0.133 116)
XYZxyz(23.3133, 29.3682, 6.7255)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9B2B #382B9B
analogous
#9B702B #8E9B2B #569B2B
triadic
#8E9B2B #2B8E9B #9B2B8E
tetradic
#8E9B2B #2B9B70 #382B9B #9B2B56
square
#8E9B2B #2B9B70 #382B9B #9B2B56
split-complementary
#8E9B2B #2B569B #702B9B
monochromatic
#363B10 #626B1E #8E9B2B #B8C93B #C9D66B

Accessibility & contrast

On white

3.06
#8E9B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8E9B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9B2B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9B2B#FFFFFF#000000##000000
##8E9B2B1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#979285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8e9b2b;
/* rgb */ color: rgb(142, 155, 43);
/* oklch */ color: oklch(65.8% 0.133 116.0);
Tailwind
colors: {
  custom: {
    50: '#b2b86c',
    500: '#8e9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #8e9b2b;
$custom-light: #b2b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9b2b",
  "rgb": {
    "r": 142,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 66.964,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65806,
    "c": 0.13334,
    "h": 116
  },
  "luminance": 0.29368
}

Semantic roles & 50–950 ramp

primary
#8E9B2B
secondary
#6F65BC
accent
#48E05A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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