#8F8A32#8F8A32

#8F8A32 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.109 H 106.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F8A32
RGBrgb(143, 138, 50)
HSLhsl(57, 48%, 38%)
HSVhsv(57, 65%, 56%)
CMYKcmyk(0%, 3.5%, 65%, 43.9%)
CIE-LABlab(56.33, -9.55, 46.19)
CIE-LCHlch(56.33, 47.16, 101.69°)
OKLaboklab(62.03% -0.0302 0.1048)
OKLCHoklch(62.03% 0.109 106.1)
XYZxyz(20.9926, 24.2476, 6.5914)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A32 #32378F
analogous
#8F5B32 #8F8A32 #658F32
triadic
#8F8A32 #328F8A #8A328F
tetradic
#8F8A32 #328F5B #32378F #8F3265
square
#8F8A32 #328F5B #32378F #8F3265
split-complementary
#8F8A32 #32658F #5B328F
monochromatic
#343212 #625E22 #8F8A32 #BCB642 #CDC86F

Accessibility & contrast

On white

3.59
#8F8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8F8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A32
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A32#FFFFFF#000000##000000
##8F8A321.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968527
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#998178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a32;
/* rgb */ color: rgb(143, 138, 50);
/* oklch */ color: oklch(62.0% 0.109 106.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab6e',
    500: '#8f8a32',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a32;
$custom-light: #b2ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a32",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 56.774,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.10906,
    "h": 106.1
  },
  "luminance": 0.24247
}

Semantic roles & 50–950 ramp

primary
#8F8A32
secondary
#686DB4
accent
#57D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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