#8A9A1E#8A9A1E

#8A9A1E is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.141 H 117.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A9A1E
RGBrgb(138, 154, 30)
HSLhsl(68, 67%, 36%)
HSVhsv(68, 81%, 60%)
CMYKcmyk(10.4%, 0%, 80.5%, 39.6%)
CIE-LABlab(60.43, -21.21, 57.51)
CIE-LCHlch(60.43, 61.29, 110.24°)
OKLaboklab(65.17% -0.0643 0.1254)
OKLCHoklch(65.17% 0.141 117.2)
XYZxyz(22.2718, 28.6085, 5.5768)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A1E #2E1E9A
analogous
#9A6C1E #8A9A1E #4C9A1E
triadic
#8A9A1E #1E8A9A #9A1E8A
tetradic
#8A9A1E #1E9A6C #2E1E9A #9A1E4C
square
#8A9A1E #1E9A6C #2E1E9A #9A1E4C
split-complementary
#8A9A1E #1E4C9A #6C1E9A
monochromatic
#2E340A #5C6714 #8A9A1E #B8CD28 #CCDE55

Accessibility & contrast

On white

3.12
#8A9A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8A9A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A1E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A1E#FFFFFF#000000##000000
##8A9A1E1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#939183
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a1e;
/* rgb */ color: rgb(138, 154, 30);
/* oklch */ color: oklch(65.2% 0.141 117.2);
Tailwind
colors: {
  custom: {
    50: '#b0b766',
    500: '#8a9a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a1e;
$custom-light: #b0b766;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a1e",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 67.742,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.14093,
    "h": 117.2
  },
  "luminance": 0.28608
}

Semantic roles & 50–950 ramp

primary
#8A9A1E
secondary
#6153C1
accent
#3EEA54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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