#8A902B#8A902B

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

Color values

HEX#8A902B
RGBrgb(138, 144, 43)
HSLhsl(64, 54%, 37%)
HSVhsv(64, 70%, 56%)
CMYKcmyk(4.2%, 0%, 70.1%, 43.5%)
CIE-LABlab(57.58, -15.42, 50.29)
CIE-LCHlch(57.58, 52.60, 107.05°)
OKLaboklab(62.9% -0.0471 0.1125)
OKLCHoklch(62.9% 0.122 112.7)
XYZxyz(20.8912, 25.5247, 6.1113)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A902B #312B90
analogous
#90642B #8A902B #58902B
triadic
#8A902B #2B8A90 #902B8A
tetradic
#8A902B #2B9064 #312B90 #902B58
square
#8A902B #2B9064 #312B90 #902B58
split-complementary
#8A902B #2B5890 #642B90
monochromatic
#30320F #5D611D #8A902B #B7BF39 #CAD165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A902B#FFFFFF#000000##000000
##8A902B1.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)
#9B891B
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a902b;
/* rgb */ color: rgb(138, 144, 43);
/* oklch */ color: oklch(62.9% 0.122 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb06b',
    500: '#8a902b',
    950: '#000000',
  },
}
SCSS
$custom: #8a902b;
$custom-light: #afb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a902b",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 63.564,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62904,
    "c": 0.12193,
    "h": 112.7
  },
  "luminance": 0.25524
}

Semantic roles & 50–950 ramp

primary
#8A902B
secondary
#6560B7
accent
#4ADD53
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A902B

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

Preview Lab → · Contrast checker → · Palette generator →

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