#8F8323#8F8323

#8F8323 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.113 H 102.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8F8323
RGBrgb(143, 131, 35)
HSLhsl(53, 61%, 35%)
HSVhsv(53, 76%, 56%)
CMYKcmyk(0%, 8.4%, 75.5%, 43.9%)
CIE-LABlab(54.23, -6.59, 50.28)
CIE-LCHlch(54.23, 50.70, 97.46°)
OKLaboklab(60.32% -0.0234 0.1108)
OKLCHoklch(60.32% 0.113 102)
XYZxyz(19.7483, 22.1945, 4.8335)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8323 #232F8F
analogous
#8F4D23 #8F8323 #658F23
triadic
#8F8323 #238F83 #83238F
tetradic
#8F8323 #238F4D #232F8F #8F2365
square
#8F8323 #238F4D #232F8F #8F2365
split-complementary
#8F8323 #23658F #4D238F
monochromatic
#2D290B #5E5617 #8F8323 #C0B02F #D6C857

Accessibility & contrast

On white

3.86
#8F8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8F8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8323
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8323#FFFFFF#000000##000000
##8F83231.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8323;
/* rgb */ color: rgb(143, 131, 35);
/* oklch */ color: oklch(60.3% 0.113 102.0);
Tailwind
colors: {
  custom: {
    50: '#b3a665',
    500: '#8f8323',
    950: '#000000',
  },
}
SCSS
$custom: #8f8323;
$custom-light: #b3a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8323",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 53.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.11322,
    "h": 102
  },
  "luminance": 0.22194
}

Semantic roles & 50–950 ramp

primary
#8F8323
secondary
#545FBA
accent
#56E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8323

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

Preview Lab → · Contrast checker → · Palette generator →

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