#8A9E1D#8A9E1D

#8A9E1D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.146 H 118.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A9E1D
RGBrgb(138, 158, 29)
HSLhsl(69, 69%, 37%)
HSVhsv(69, 82%, 62%)
CMYKcmyk(12.7%, 0%, 81.6%, 38%)
CIE-LABlab(61.61, -23.25, 58.84)
CIE-LCHlch(61.61, 63.27, 111.56°)
OKLaboklab(66.11% -0.07 0.1281)
OKLCHoklch(66.11% 0.146 118.7)
XYZxyz(22.9304, 29.9459, 5.7343)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E1D #311D9E
analogous
#9E721D #8A9E1D #4A9E1D
triadic
#8A9E1D #1D8A9E #9E1D8A
tetradic
#8A9E1D #1D9E72 #311D9E #9E1D4A
square
#8A9E1D #1D9E72 #311D9E #9E1D4A
split-complementary
#8A9E1D #1D4A9E #721D9E
monochromatic
#30370A #5D6A14 #8A9E1D #B7D226 #CAE056

Accessibility & contrast

On white

3.00
#8A9E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A9E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9E1D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E1D#FFFFFF#000000##000000
##8A9E1D1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7952A
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e1d;
/* rgb */ color: rgb(138, 158, 29);
/* oklch */ color: oklch(66.1% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0ba66',
    500: '#8a9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e1d;
$custom-light: #b0ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e1d",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 69.302,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6611,
    "c": 0.14595,
    "h": 118.7
  },
  "luminance": 0.29946
}

Semantic roles & 50–950 ramp

primary
#8A9E1D
secondary
#6554C3
accent
#3CEC57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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