#8F7B19#8F7B19

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

Color values

HEX#8F7B19
RGBrgb(143, 123, 25)
HSLhsl(50, 70%, 33%)
HSVhsv(50, 83%, 56%)
CMYKcmyk(0%, 14%, 82.5%, 43.9%)
CIE-LABlab(51.92, -2.56, 51.66)
CIE-LCHlch(51.92, 51.72, 92.83°)
OKLaboklab(58.47% -0.013 0.1116)
OKLCHoklch(58.47% 0.112 96.7)
XYZxyz(18.5871, 20.0768, 3.8157)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7B19 #192D8F
analogous
#8F4019 #8F7B19 #688F19
triadic
#8F7B19 #198F7B #7B198F
tetradic
#8F7B19 #198F40 #192D8F #8F1968
square
#8F7B19 #198F40 #192D8F #8F1968
split-complementary
#8F7B19 #19688F #40198F
monochromatic
#272107 #5B4E10 #8F7B19 #C3A822 #DEC444

Accessibility & contrast

On white

4.19
#8F7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8F7B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7B19
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7B19#FFFFFF#000000##000000
##8F7B191.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#9B7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f7b19;
/* rgb */ color: rgb(143, 123, 25);
/* oklch */ color: oklch(58.5% 0.112 96.7);
Tailwind
colors: {
  custom: {
    50: '#b4a060',
    500: '#8f7b19',
    950: '#000000',
  },
}
SCSS
$custom: #8f7b19;
$custom-light: #b4a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7b19",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 49.831,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.1124,
    "h": 96.7
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#8F7B19
secondary
#4459BF
accent
#59ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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