#8E9E1B#8E9E1B

#8E9E1B is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.145 H 116.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8E9E1B
RGBrgb(142, 158, 27)
HSLhsl(67, 71%, 36%)
HSVhsv(67, 83%, 62%)
CMYKcmyk(10.1%, 0%, 82.9%, 38%)
CIE-LABlab(61.90, -21.59, 59.75)
CIE-LCHlch(61.90, 63.54, 109.87°)
OKLaboklab(66.42% -0.0658 0.1295)
OKLCHoklch(66.42% 0.145 116.9)
XYZxyz(23.5807, 30.2839, 5.6399)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E1B #2B1B9E
analogous
#9E6D1B #8E9E1B #4D9E1B
triadic
#8E9E1B #1B8E9E #9E1B8E
tetradic
#8E9E1B #1B9E6D #2B1B9E #9E1B4D
square
#8E9E1B #1B9E6D #2B1B9E #9E1B4D
split-complementary
#8E9E1B #1B4D9E #6D1B9E
monochromatic
#303509 #5F6A12 #8E9E1B #BDD224 #D0E152

Accessibility & contrast

On white

2.98
#8E9E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8E9E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E1B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E1B#FFFFFF#000000##000000
##8E9E1B1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A89629
Tritanopia (blue-blind)
#979587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9e1b;
/* rgb */ color: rgb(142, 158, 27);
/* oklch */ color: oklch(66.4% 0.145 116.9);
Tailwind
colors: {
  custom: {
    50: '#b3ba65',
    500: '#8e9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e1b;
$custom-light: #b3ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e1b",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 67.328,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.14528,
    "h": 116.9
  },
  "luminance": 0.30284
}

Semantic roles & 50–950 ramp

primary
#8E9E1B
secondary
#5F51C4
accent
#3AEE50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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