#8A9C1D#8A9C1D

#8A9C1D is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.6% C 0.144 H 117.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A9C1D
RGBrgb(138, 156, 29)
HSLhsl(69, 69%, 36%)
HSVhsv(69, 81%, 61%)
CMYKcmyk(11.5%, 0%, 81.4%, 38.8%)
CIE-LABlab(61.02, -22.25, 58.32)
CIE-LCHlch(61.02, 62.42, 110.88°)
OKLaboklab(65.64% -0.0673 0.1269)
OKLCHoklch(65.64% 0.144 117.9)
XYZxyz(22.5920, 29.2691, 5.6215)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C1D #2F1D9C
analogous
#9C6F1D #8A9C1D #4B9C1D
triadic
#8A9C1D #1D8A9C #9C1D8A
tetradic
#8A9C1D #1D9C6F #2F1D9C #9C1D4B
square
#8A9C1D #1D9C6F #2F1D9C #9C1D4B
split-complementary
#8A9C1D #1D4B9C #6F1D9C
monochromatic
#2F350A #5C6813 #8A9C1D #B8D027 #CCDF54

Accessibility & contrast

On white

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

On black

6.85
#8A9C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C1D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C1D#FFFFFF#000000##000000
##8A9C1D1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#939385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c1d;
/* rgb */ color: rgb(138, 156, 29);
/* oklch */ color: oklch(65.6% 0.144 117.9);
Tailwind
colors: {
  custom: {
    50: '#b0b966',
    500: '#8a9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c1d;
$custom-light: #b0b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c1d",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 68.504,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65636,
    "c": 0.14366,
    "h": 117.9
  },
  "luminance": 0.29269
}

Semantic roles & 50–950 ramp

primary
#8A9C1D
secondary
#6252C2
accent
#3CEB55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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