#8A8E32#8A8E32

#8A8E32 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.114 H 111.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8E32
RGBrgb(138, 142, 50)
HSLhsl(63, 48%, 38%)
HSVhsv(63, 65%, 56%)
CMYKcmyk(2.8%, 0%, 64.8%, 44.3%)
CIE-LABlab(57.06, -13.92, 46.82)
CIE-LCHlch(57.06, 48.84, 106.56°)
OKLaboklab(62.5% -0.0422 0.1063)
OKLCHoklch(62.5% 0.114 111.7)
XYZxyz(20.7305, 24.9800, 6.7466)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E32 #36328E
analogous
#8E6432 #8A8E32 #5C8E32
triadic
#8A8E32 #328A8E #8E328A
tetradic
#8A8E32 #328E64 #36328E #8E325C
square
#8A8E32 #328E64 #36328E #8E325C
split-complementary
#8A8E32 #325C8E #64328E
monochromatic
#323312 #5E6122 #8A8E32 #B6BB42 #C8CC6E

Accessibility & contrast

On white

3.50
#8A8E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A8E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E32
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E32#FFFFFF#000000##000000
##8A8E321.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998826
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#93867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e32;
/* rgb */ color: rgb(138, 142, 50);
/* oklch */ color: oklch(62.5% 0.114 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae6f',
    500: '#8a8e32',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e32;
$custom-light: #afae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e32",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 62.609,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62499,
    "c": 0.11435,
    "h": 111.7
  },
  "luminance": 0.2498
}

Semantic roles & 50–950 ramp

primary
#8A8E32
secondary
#6B68B4
accent
#50D856
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8E32

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

Preview Lab → · Contrast checker → · Palette generator →

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