#8F7B23#8F7B23

#8F7B23 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.107 H 95.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8F7B23
RGBrgb(143, 123, 35)
HSLhsl(49, 61%, 35%)
HSVhsv(49, 76%, 56%)
CMYKcmyk(0%, 14%, 75.5%, 43.9%)
CIE-LABlab(51.98, -2.14, 48.12)
CIE-LCHlch(51.98, 48.16, 92.55°)
OKLaboklab(58.54% -0.0108 0.1062)
OKLCHoklch(58.54% 0.107 95.8)
XYZxyz(18.7150, 20.1279, 4.4891)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7B23 #23378F
analogous
#8F4523 #8F7B23 #6D8F23
triadic
#8F7B23 #238F7B #7B238F
tetradic
#8F7B23 #238F45 #23378F #8F236D
square
#8F7B23 #238F45 #23378F #8F236D
split-complementary
#8F7B23 #236D8F #45238F
monochromatic
#2D260B #5E5117 #8F7B23 #C0A52F #D6BE57

Accessibility & contrast

On white

4.18
#8F7B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8F7B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7B23
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7B23#FFFFFF#000000##000000
##8F7B231.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#9B716A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f7b23;
/* rgb */ color: rgb(143, 123, 35);
/* oklch */ color: oklch(58.5% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#b3a064',
    500: '#8f7b23',
    950: '#000000',
  },
}
SCSS
$custom: #8f7b23;
$custom-light: #b3a064;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7b23",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 48.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.10673,
    "h": 95.8
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#8F7B23
secondary
#5467BA
accent
#62E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7B23

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

Preview Lab → · Contrast checker → · Palette generator →

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