#8F7F19#8F7F19

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

Color values

HEX#8F7F19
RGBrgb(143, 127, 25)
HSLhsl(52, 70%, 33%)
HSVhsv(52, 83%, 56%)
CMYKcmyk(0%, 11.2%, 82.5%, 43.9%)
CIE-LABlab(53.05, -4.79, 52.65)
CIE-LCHlch(53.05, 52.86, 95.19°)
OKLaboklab(59.36% -0.0193 0.1138)
OKLCHoklch(59.36% 0.115 99.6)
XYZxyz(19.0935, 21.0895, 3.9845)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7F19 #19298F
analogous
#8F4419 #8F7F19 #648F19
triadic
#8F7F19 #198F7F #7F198F
tetradic
#8F7F19 #198F44 #19298F #8F1964
square
#8F7F19 #198F44 #19298F #8F1964
split-complementary
#8F7F19 #19648F #44198F
monochromatic
#272207 #5B5110 #8F7F19 #C3AD22 #DEC944

Accessibility & contrast

On white

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

On black

5.22
#8F7F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7F19
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7F19#FFFFFF#000000##000000
##8F7F191.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#9B756C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f7f19;
/* rgb */ color: rgb(143, 127, 25);
/* oklch */ color: oklch(59.4% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#b4a360',
    500: '#8f7f19',
    950: '#000000',
  },
}
SCSS
$custom: #8f7f19;
$custom-light: #b4a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7f19",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 51.864,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.1154,
    "h": 99.6
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#8F7F19
secondary
#4455BF
accent
#53ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #8F7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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