#8D8719#8D8719

#8D8719 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.123 H 106.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D8719
RGBrgb(141, 135, 25)
HSLhsl(57, 70%, 33%)
HSVhsv(57, 82%, 55%)
CMYKcmyk(0%, 4.3%, 82.3%, 44.7%)
CIE-LABlab(55.14, -10.10, 54.40)
CIE-LCHlch(55.14, 55.33, 100.51°)
OKLaboklab(60.98% -0.0341 0.1177)
OKLCHoklch(60.98% 0.123 106.2)
XYZxyz(19.8248, 23.0616, 4.3266)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8719 #191F8D
analogous
#8D4D19 #8D8719 #598D19
triadic
#8D8719 #198D87 #87198D
tetradic
#8D8719 #198D4D #191F8D #8D1959
square
#8D8719 #198D4D #191F8D #8D1959
split-complementary
#8D8719 #19598D #4D198D
monochromatic
#252307 #595510 #8D8719 #C1B922 #DED643

Accessibility & contrast

On white

3.74
#8D8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8D8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8719
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8719#FFFFFF#000000##000000
##8D87191.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8719;
/* rgb */ color: rgb(141, 135, 25);
/* oklch */ color: oklch(61.0% 0.123 106.2);
Tailwind
colors: {
  custom: {
    50: '#b2a961',
    500: '#8d8719',
    950: '#000000',
  },
}
SCSS
$custom: #8d8719;
$custom-light: #b2a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8719",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 56.897,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.12251,
    "h": 106.2
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#8D8719
secondary
#434ABF
accent
#44ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8719

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

Preview Lab → · Contrast checker → · Palette generator →

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