#8F8A37#8F8A37

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

Color values

HEX#8F8A37
RGBrgb(143, 138, 55)
HSLhsl(57, 44%, 39%)
HSVhsv(57, 62%, 56%)
CMYKcmyk(0%, 3.5%, 61.5%, 43.9%)
CIE-LABlab(56.38, -9.20, 43.95)
CIE-LCHlch(56.38, 44.90, 101.82°)
OKLaboklab(62.08% -0.0286 0.1008)
OKLCHoklch(62.08% 0.105 105.8)
XYZxyz(21.1065, 24.2931, 7.1909)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A37 #373C8F
analogous
#8F5E37 #8F8A37 #688F37
triadic
#8F8A37 #378F8A #8A378F
tetradic
#8F8A37 #378F5E #373C8F #8F3768
square
#8F8A37 #378F5E #373C8F #8F3768
split-complementary
#8F8A37 #37688F #5E378F
monochromatic
#373515 #635F26 #8F8A37 #B9B34A #CAC676

Accessibility & contrast

On white

3.58
#8F8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8A37#FFFFFF#000000##000000
##8F8A371.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8a37;
/* rgb */ color: rgb(143, 138, 55);
/* oklch */ color: oklch(62.1% 0.105 105.8);
Tailwind
colors: {
  custom: {
    50: '#b2ab71',
    500: '#8f8a37',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a37;
$custom-light: #b2ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a37",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 56.591,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62079,
    "c": 0.1048,
    "h": 105.8
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#8F8A37
secondary
#6F73B3
accent
#5BD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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