#8F8737#8F8737

#8F8737 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.102 H 103.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8F8737
RGBrgb(143, 135, 55)
HSLhsl(55, 44%, 39%)
HSVhsv(55, 62%, 56%)
CMYKcmyk(0%, 5.6%, 61.5%, 43.9%)
CIE-LABlab(55.53, -7.57, 43.01)
CIE-LCHlch(55.53, 43.67, 99.98°)
OKLaboklab(61.4% -0.0239 0.0988)
OKLCHoklch(61.4% 0.102 103.6)
XYZxyz(20.6820, 23.4442, 7.0494)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8737 #373F8F
analogous
#8F5B37 #8F8737 #6B8F37
triadic
#8F8737 #378F87 #87378F
tetradic
#8F8737 #378F5B #373F8F #8F376B
square
#8F8737 #378F5B #373F8F #8F376B
split-complementary
#8F8737 #376B8F #5B378F
monochromatic
#373415 #635D26 #8F8737 #B9AF4A #CAC376

Accessibility & contrast

On white

3.69
#8F8737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8F8737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8737
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8737#FFFFFF#000000##000000
##8F87371.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832E
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#997E76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8737;
/* rgb */ color: rgb(143, 135, 55);
/* oklch */ color: oklch(61.4% 0.102 103.6);
Tailwind
colors: {
  custom: {
    50: '#b2a971',
    500: '#8f8737',
    950: '#000000',
  },
}
SCSS
$custom: #8f8737;
$custom-light: #b2a971;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8737",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 54.545,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.10169,
    "h": 103.6
  },
  "luminance": 0.23443
}

Semantic roles & 50–950 ramp

primary
#8F8737
secondary
#6F75B3
accent
#5FD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F8737

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

Preview Lab → · Contrast checker → · Palette generator →

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