#8F8733#8F8733

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

Color values

HEX#8F8733
RGBrgb(143, 135, 51)
HSLhsl(55, 47%, 38%)
HSVhsv(55, 64%, 56%)
CMYKcmyk(0%, 5.6%, 64.3%, 43.9%)
CIE-LABlab(55.49, -7.85, 44.83)
CIE-LCHlch(55.49, 45.52, 99.94°)
OKLaboklab(61.36% -0.0252 0.1021)
OKLCHoklch(61.36% 0.105 103.9)
XYZxyz(20.5900, 23.4074, 6.5648)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8733 #333B8F
analogous
#8F5933 #8F8733 #698F33
triadic
#8F8733 #338F87 #87338F
tetradic
#8F8733 #338F59 #333B8F #8F3369
square
#8F8733 #338F59 #333B8F #8F3369
split-complementary
#8F8733 #33698F #59338F
monochromatic
#353213 #625C23 #8F8733 #BCB243 #CCC470

Accessibility & contrast

On white

3.70
#8F8733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8F8733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8733
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8733#FFFFFF#000000##000000
##8F87331.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#997E75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8733;
/* rgb */ color: rgb(143, 135, 51);
/* oklch */ color: oklch(61.4% 0.105 103.9);
Tailwind
colors: {
  custom: {
    50: '#b2a96f',
    500: '#8f8733',
    950: '#000000',
  },
}
SCSS
$custom: #8f8733;
$custom-light: #b2a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8733",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 54.783,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.10517,
    "h": 103.9
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#8F8733
secondary
#6A70B4
accent
#5CD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8733

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

Preview Lab → · Contrast checker → · Palette generator →

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