#8F7E19#8F7E19

#8F7E19 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.115 H 98.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F7E19
RGBrgb(143, 126, 25)
HSLhsl(51, 70%, 33%)
HSVhsv(51, 83%, 56%)
CMYKcmyk(0%, 11.9%, 82.5%, 43.9%)
CIE-LABlab(52.77, -4.23, 52.40)
CIE-LCHlch(52.77, 52.57, 94.62°)
OKLaboklab(59.14% -0.0178 0.1132)
OKLCHoklch(59.14% 0.115 98.9)
XYZxyz(18.9650, 20.8325, 3.9417)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E19 #192A8F
analogous
#8F4319 #8F7E19 #658F19
triadic
#8F7E19 #198F7E #7E198F
tetradic
#8F7E19 #198F43 #192A8F #8F1965
square
#8F7E19 #198F43 #192A8F #8F1965
split-complementary
#8F7E19 #19658F #43198F
monochromatic
#272207 #5B5010 #8F7E19 #C3AC22 #DEC844

Accessibility & contrast

On white

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

On black

5.17
#8F7E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E19
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E19#FFFFFF#000000##000000
##8F7E191.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7e19;
/* rgb */ color: rgb(143, 126, 25);
/* oklch */ color: oklch(59.1% 0.115 98.9);
Tailwind
colors: {
  custom: {
    50: '#b4a360',
    500: '#8f7e19',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e19;
$custom-light: #b4a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e19",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 51.356,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.11463,
    "h": 98.9
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#8F7E19
secondary
#4456BF
accent
#54ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #8F7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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