#8E9F1D#8E9F1D

#8E9F1D is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.7% C 0.146 H 117.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8E9F1D
RGBrgb(142, 159, 29)
HSLhsl(68, 69%, 37%)
HSVhsv(68, 82%, 62%)
CMYKcmyk(10.7%, 0%, 81.8%, 37.6%)
CIE-LABlab(62.20, -22.02, 59.47)
CIE-LCHlch(62.20, 63.42, 110.32°)
OKLaboklab(66.66% -0.0669 0.1293)
OKLCHoklch(66.66% 0.146 117.4)
XYZxyz(23.7759, 30.6360, 5.8230)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9F1D #2E1D9F
analogous
#9F6F1D #8E9F1D #4D9F1D
triadic
#8E9F1D #1D8E9F #9F1D8E
tetradic
#8E9F1D #1D9F6F #2E1D9F #9F1D4D
square
#8E9F1D #1D9F6F #2E1D9F #9F1D4D
split-complementary
#8E9F1D #1D4D9F #6F1D9F
monochromatic
#32370A #606B14 #8E9F1D #BCD326 #CEE056

Accessibility & contrast

On white

2.95
#8E9F1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8E9F1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9F1D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9F1D#FFFFFF#000000##000000
##8E9F1D1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#979688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9f1d;
/* rgb */ color: rgb(142, 159, 29);
/* oklch */ color: oklch(66.7% 0.146 117.4);
Tailwind
colors: {
  custom: {
    50: '#b3bb66',
    500: '#8e9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8e9f1d;
$custom-light: #b3bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9f1d",
  "rgb": {
    "r": 142,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 67.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.14553,
    "h": 117.4
  },
  "luminance": 0.30636
}

Semantic roles & 50–950 ramp

primary
#8E9F1D
secondary
#6354C4
accent
#3CEC53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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