#8F7D23#8F7D23

#8F7D23 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.108 H 97.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8F7D23
RGBrgb(143, 125, 35)
HSLhsl(50, 61%, 35%)
HSVhsv(50, 76%, 56%)
CMYKcmyk(0%, 12.6%, 75.5%, 43.9%)
CIE-LABlab(52.54, -3.26, 48.66)
CIE-LCHlch(52.54, 48.77, 93.83°)
OKLaboklab(58.98% -0.014 0.1073)
OKLCHoklch(58.98% 0.108 97.4)
XYZxyz(18.9656, 20.6292, 4.5726)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D23 #23358F
analogous
#8F4723 #8F7D23 #6B8F23
triadic
#8F7D23 #238F7D #7D238F
tetradic
#8F7D23 #238F47 #23358F #8F236B
square
#8F7D23 #238F47 #23358F #8F236B
split-complementary
#8F7D23 #236B8F #47238F
monochromatic
#2D270B #5E5217 #8F7D23 #C0A82F #D6C157

Accessibility & contrast

On white

4.10
#8F7D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8F7D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D23
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D23#FFFFFF#000000##000000
##8F7D231.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7d23;
/* rgb */ color: rgb(143, 125, 35);
/* oklch */ color: oklch(59.0% 0.108 97.4);
Tailwind
colors: {
  custom: {
    50: '#b3a265',
    500: '#8f7d23',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d23;
$custom-light: #b3a265;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d23",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 50,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.10823,
    "h": 97.4
  },
  "luminance": 0.20628
}

Semantic roles & 50–950 ramp

primary
#8F7D23
secondary
#5465BA
accent
#5FE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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