#8F7E23#8F7E23

#8F7E23 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.109 H 98.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F7E23
RGBrgb(143, 126, 35)
HSLhsl(51, 61%, 35%)
HSVhsv(51, 76%, 56%)
CMYKcmyk(0%, 11.9%, 75.5%, 43.9%)
CIE-LABlab(52.82, -3.82, 48.93)
CIE-LCHlch(52.82, 49.07, 94.46°)
OKLaboklab(59.2% -0.0156 0.1079)
OKLCHoklch(59.2% 0.109 98.2)
XYZxyz(19.0929, 20.8837, 4.6151)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E23 #23348F
analogous
#8F4823 #8F7E23 #6A8F23
triadic
#8F7E23 #238F7E #7E238F
tetradic
#8F7E23 #238F48 #23348F #8F236A
square
#8F7E23 #238F48 #23348F #8F236A
split-complementary
#8F7E23 #236A8F #48238F
monochromatic
#2D270B #5E5317 #8F7E23 #C0A92F #D6C257

Accessibility & contrast

On white

4.06
#8F7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8F7E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E23
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E23#FFFFFF#000000##000000
##8F7E231.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B13
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#9B746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e23;
/* rgb */ color: rgb(143, 126, 35);
/* oklch */ color: oklch(59.2% 0.109 98.2);
Tailwind
colors: {
  custom: {
    50: '#b3a365',
    500: '#8f7e23',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e23;
$custom-light: #b3a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e23",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 50.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59202,
    "c": 0.10901,
    "h": 98.2
  },
  "luminance": 0.20883
}

Semantic roles & 50–950 ramp

primary
#8F7E23
secondary
#5464BA
accent
#5DE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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