#8A9E1E#8A9E1E

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

Color values

HEX#8A9E1E
RGBrgb(138, 158, 30)
HSLhsl(69, 68%, 37%)
HSVhsv(69, 81%, 62%)
CMYKcmyk(12.7%, 0%, 81%, 38%)
CIE-LABlab(61.61, -23.21, 58.56)
CIE-LCHlch(61.61, 62.99, 111.62°)
OKLaboklab(66.11% -0.0699 0.1276)
OKLCHoklch(66.11% 0.145 118.7)
XYZxyz(22.9430, 29.9509, 5.8005)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E1E #321E9E
analogous
#9E721E #8A9E1E #4A9E1E
triadic
#8A9E1E #1E8A9E #9E1E8A
tetradic
#8A9E1E #1E9E72 #321E9E #9E1E4A
square
#8A9E1E #1E9E72 #321E9E #9E1E4A
split-complementary
#8A9E1E #1E4A9E #721E9E
monochromatic
#30370A #5D6B14 #8A9E1E #B7D128 #CADF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9E1E#FFFFFF#000000##000000
##8A9E1E1.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)
#A7952B
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e1e;
/* rgb */ color: rgb(138, 158, 30);
/* oklch */ color: oklch(66.1% 0.145 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0ba67',
    500: '#8a9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e1e;
$custom-light: #b0ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e1e",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 69.375,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66115,
    "c": 0.14549,
    "h": 118.7
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

primary
#8A9E1E
secondary
#6655C3
accent
#3DEB58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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