#8A902A#8A902A

#8A902A is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.123 H 112.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A902A
RGBrgb(138, 144, 42)
HSLhsl(64, 55%, 36%)
HSVhsv(64, 71%, 56%)
CMYKcmyk(4.2%, 0%, 70.8%, 43.5%)
CIE-LABlab(57.58, -15.48, 50.68)
CIE-LCHlch(57.58, 52.99, 106.98°)
OKLaboklab(62.9% -0.0474 0.1131)
OKLCHoklch(62.9% 0.123 112.7)
XYZxyz(20.8730, 25.5174, 6.0158)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A902A #302A90
analogous
#90632A #8A902A #57902A
triadic
#8A902A #2A8A90 #902A8A
tetradic
#8A902A #2A9063 #302A90 #902A57
square
#8A902A #2A9063 #302A90 #902A57
split-complementary
#8A902A #2A5790 #632A90
monochromatic
#2F310E #5D611C #8A902A #B7BF38 #CBD163

Accessibility & contrast

On white

3.44
#8A902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A902A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A902A#FFFFFF#000000##000000
##8A902A1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8919
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a902a;
/* rgb */ color: rgb(138, 144, 42);
/* oklch */ color: oklch(62.9% 0.123 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb06a',
    500: '#8a902a',
    950: '#000000',
  },
}
SCSS
$custom: #8a902a;
$custom-light: #afb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a902a",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 63.529,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.12263,
    "h": 112.7
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#8A902A
secondary
#645EB7
accent
#4ADE52
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A902A

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

Preview Lab → · Contrast checker → · Palette generator →

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