#8A9F1D#8A9F1D

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

Color values

HEX#8A9F1D
RGBrgb(138, 159, 29)
HSLhsl(70, 69%, 37%)
HSVhsv(70, 82%, 62%)
CMYKcmyk(13.2%, 0%, 81.8%, 37.6%)
CIE-LABlab(61.90, -23.75, 59.10)
CIE-LCHlch(61.90, 63.69, 111.89°)
OKLaboklab(66.35% -0.0714 0.1286)
OKLCHoklch(66.35% 0.147 119)
XYZxyz(23.1017, 30.2884, 5.7914)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F1D #321D9F
analogous
#9F731D #8A9F1D #499F1D
triadic
#8A9F1D #1D8A9F #9F1D8A
tetradic
#8A9F1D #1D9F73 #321D9F #9F1D49
square
#8A9F1D #1D9F73 #321D9F #9F1D49
split-complementary
#8A9F1D #1D499F #731D9F
monochromatic
#30370A #5D6B14 #8A9F1D #B7D326 #CAE056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9F1D#FFFFFF#000000##000000
##8A9F1D1.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)
#AA9600
Deuteranopia (green-blind)
#A7962B
Tritanopia (blue-blind)
#939688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f1d;
/* rgb */ color: rgb(138, 159, 29);
/* oklch */ color: oklch(66.3% 0.147 119.0);
Tailwind
colors: {
  custom: {
    50: '#b0bb66',
    500: '#8a9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f1d;
$custom-light: #b0bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f1d",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 69.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.14709,
    "h": 119
  },
  "luminance": 0.30288
}

Semantic roles & 50–950 ramp

primary
#8A9F1D
secondary
#6654C4
accent
#3CEC58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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