#8F8237#8F8237

#8F8237 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.097 H 99.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F8237
RGBrgb(143, 130, 55)
HSLhsl(51, 44%, 39%)
HSVhsv(51, 62%, 56%)
CMYKcmyk(0%, 9.1%, 61.5%, 43.9%)
CIE-LABlab(54.11, -4.81, 41.45)
CIE-LCHlch(54.11, 41.73, 96.63°)
OKLaboklab(60.28% -0.0161 0.0955)
OKLCHoklch(60.28% 0.097 99.5)
XYZxyz(20.0007, 22.0816, 6.8223)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8237 #37448F
analogous
#8F5637 #8F8237 #708F37
triadic
#8F8237 #378F82 #82378F
tetradic
#8F8237 #378F56 #37448F #8F3770
square
#8F8237 #378F56 #37448F #8F3770
split-complementary
#8F8237 #37708F #56378F
monochromatic
#373215 #635A26 #8F8237 #B9A94A #CABE76

Accessibility & contrast

On white

3.88
#8F8237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8F8237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8237
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8237#FFFFFF#000000##000000
##8F82371.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2F
Deuteranopia (green-blind)
#91843B
Tritanopia (blue-blind)
#9A7972
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8237;
/* rgb */ color: rgb(143, 130, 55);
/* oklch */ color: oklch(60.3% 0.097 99.5);
Tailwind
colors: {
  custom: {
    50: '#b2a671',
    500: '#8f8237',
    950: '#000000',
  },
}
SCSS
$custom: #8f8237;
$custom-light: #b2a671;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8237",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 51.136,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.09684,
    "h": 99.5
  },
  "luminance": 0.22081
}

Semantic roles & 50–950 ramp

primary
#8F8237
secondary
#6F79B3
accent
#67D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F8237

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

Preview Lab → · Contrast checker → · Palette generator →

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