#8F8A36#8F8A36

#8F8A36 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.106 H 105.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8F8A36
RGBrgb(143, 138, 54)
HSLhsl(57, 45%, 39%)
HSVhsv(57, 62%, 56%)
CMYKcmyk(0%, 3.5%, 62.2%, 43.9%)
CIE-LABlab(56.37, -9.27, 44.41)
CIE-LCHlch(56.37, 45.36, 101.80°)
OKLaboklab(62.07% -0.0289 0.1017)
OKLCHoklch(62.07% 0.106 105.9)
XYZxyz(21.0827, 24.2836, 7.0660)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A36 #363B8F
analogous
#8F5D36 #8F8A36 #678F36
triadic
#8F8A36 #368F8A #8A368F
tetradic
#8F8A36 #368F5D #363B8F #8F3667
square
#8F8A36 #368F5D #363B8F #8F3667
split-complementary
#8F8A36 #36678F #5D368F
monochromatic
#363414 #635F25 #8F8A36 #BAB448 #CBC675

Accessibility & contrast

On white

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

On black

5.86
#8F8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A36
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A36#FFFFFF#000000##000000
##8F8A361.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852C
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#998178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a36;
/* rgb */ color: rgb(143, 138, 54);
/* oklch */ color: oklch(62.1% 0.106 105.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab71',
    500: '#8f8a36',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a36;
$custom-light: #b2ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a36",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 56.629,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62069,
    "c": 0.10568,
    "h": 105.9
  },
  "luminance": 0.24283
}

Semantic roles & 50–950 ramp

primary
#8F8A36
secondary
#6D71B3
accent
#5AD553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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