#8A9032#8A9032

#8A9032 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.0% C 0.117 H 112.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A9032
RGBrgb(138, 144, 50)
HSLhsl(64, 48%, 38%)
HSVhsv(64, 65%, 56%)
CMYKcmyk(4.2%, 0%, 65.3%, 43.5%)
CIE-LABlab(57.64, -14.98, 47.43)
CIE-LCHlch(57.64, 49.74, 107.53°)
OKLaboklab(62.96% -0.0452 0.1076)
OKLCHoklch(62.96% 0.117 112.8)
XYZxyz(21.0308, 25.5805, 6.8467)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9032 #383290
analogous
#906732 #8A9032 #5B9032
triadic
#8A9032 #328A90 #90328A
tetradic
#8A9032 #329067 #383290 #90325B
square
#8A9032 #329067 #383290 #90325B
split-complementary
#8A9032 #325B90 #673290
monochromatic
#333512 #5E6322 #8A9032 #B5BD42 #C7CD6F

Accessibility & contrast

On white

3.43
#8A9032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8A9032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9032
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9032#FFFFFF#000000##000000
##8A90321.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8926
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9032;
/* rgb */ color: rgb(138, 144, 50);
/* oklch */ color: oklch(63.0% 0.117 112.8);
Tailwind
colors: {
  custom: {
    50: '#afb06f',
    500: '#8a9032',
    950: '#000000',
  },
}
SCSS
$custom: #8a9032;
$custom-light: #afb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9032",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 50
  },
  "hsl": {
    "h": 63.83,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62964,
    "c": 0.11667,
    "h": 112.8
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#8A9032
secondary
#6E69B5
accent
#50D858
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9032

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

Preview Lab → · Contrast checker → · Palette generator →

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