#8F7F23#8F7F23

#8F7F23 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 99.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8F7F23
RGBrgb(143, 127, 35)
HSLhsl(51, 61%, 35%)
HSVhsv(51, 76%, 56%)
CMYKcmyk(0%, 11.2%, 75.5%, 43.9%)
CIE-LABlab(53.10, -4.37, 49.20)
CIE-LCHlch(53.10, 49.39, 95.08°)
OKLaboklab(59.42% -0.0172 0.1085)
OKLCHoklch(59.42% 0.11 99)
XYZxyz(19.2214, 21.1407, 4.6579)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7F23 #23338F
analogous
#8F4923 #8F7F23 #698F23
triadic
#8F7F23 #238F7F #7F238F
tetradic
#8F7F23 #238F49 #23338F #8F2369
square
#8F7F23 #238F49 #23338F #8F2369
split-complementary
#8F7F23 #23698F #49238F
monochromatic
#2D280B #5E5317 #8F7F23 #C0AB2F #D6C357

Accessibility & contrast

On white

4.02
#8F7F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8F7F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7F23
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7F23#FFFFFF#000000##000000
##8F7F231.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#9B756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f7f23;
/* rgb */ color: rgb(143, 127, 35);
/* oklch */ color: oklch(59.4% 0.110 99.0);
Tailwind
colors: {
  custom: {
    50: '#b3a365',
    500: '#8f7f23',
    950: '#000000',
  },
}
SCSS
$custom: #8f7f23;
$custom-light: #b3a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7f23",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 51.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.10982,
    "h": 99
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#8F7F23
secondary
#5463BA
accent
#5CE444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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