#8D8A14#8D8A14

#8D8A14 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.127 H 108.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D8A14
RGBrgb(141, 138, 20)
HSLhsl(59, 75%, 32%)
HSVhsv(59, 86%, 55%)
CMYKcmyk(0%, 2.1%, 85.8%, 44.7%)
CIE-LABlab(55.98, -11.87, 56.48)
CIE-LCHlch(55.98, 57.71, 101.87°)
OKLaboklab(61.64% -0.0394 0.1212)
OKLCHoklch(61.64% 0.127 108)
XYZxyz(20.2001, 23.8909, 4.2090)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A14 #14178D
analogous
#8D4E14 #8D8A14 #548D14
triadic
#8D8A14 #148D8A #8A148D
tetradic
#8D8A14 #148D4E #14178D #8D1454
square
#8D8A14 #148D4E #14178D #8D1454
split-complementary
#8D8A14 #14548D #4E148D
monochromatic
#222105 #57560C #8D8A14 #C3BE1C #E3DF39

Accessibility & contrast

On white

3.63
#8D8A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8D8A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A14
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A14#FFFFFF#000000##000000
##8D8A141.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988820
Tritanopia (blue-blind)
#988075
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a14;
/* rgb */ color: rgb(141, 138, 20);
/* oklch */ color: oklch(61.6% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b2ab60',
    500: '#8d8a14',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a14;
$custom-light: #b2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a14",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 58.512,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.12746,
    "h": 108
  },
  "luminance": 0.2389
}

Semantic roles & 50–950 ramp

primary
#8D8A14
secondary
#3C3FC1
accent
#3BF236
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8A14

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

Preview Lab → · Contrast checker → · Palette generator →

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