#8F7D19#8F7D19

#8F7D19 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.114 H 98.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F7D19
RGBrgb(143, 125, 25)
HSLhsl(51, 70%, 33%)
HSVhsv(51, 83%, 56%)
CMYKcmyk(0%, 12.6%, 82.5%, 43.9%)
CIE-LABlab(52.48, -3.67, 52.15)
CIE-LCHlch(52.48, 52.28, 94.03°)
OKLaboklab(58.92% -0.0162 0.1127)
OKLCHoklch(58.92% 0.114 98.2)
XYZxyz(18.8378, 20.5781, 3.8992)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D19 #192B8F
analogous
#8F4219 #8F7D19 #668F19
triadic
#8F7D19 #198F7D #7D198F
tetradic
#8F7D19 #198F42 #192B8F #8F1966
square
#8F7D19 #198F42 #192B8F #8F1966
split-complementary
#8F7D19 #19668F #42198F
monochromatic
#272207 #5B4F10 #8F7D19 #C3AB22 #DEC744

Accessibility & contrast

On white

4.11
#8F7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8F7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D19
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D19#FFFFFF#000000##000000
##8F7D191.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7d19;
/* rgb */ color: rgb(143, 125, 25);
/* oklch */ color: oklch(58.9% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#b4a260',
    500: '#8f7d19',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d19;
$custom-light: #b4a260;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d19",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 50.847,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58916,
    "c": 0.11387,
    "h": 98.2
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#8F7D19
secondary
#4457BF
accent
#56ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #8F7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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