#8D8A20#8D8A20

#8D8A20 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.122 H 107.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D8A20
RGBrgb(141, 138, 32)
HSLhsl(58, 63%, 34%)
HSVhsv(58, 77%, 55%)
CMYKcmyk(0%, 2.1%, 77.3%, 44.7%)
CIE-LABlab(56.03, -11.44, 52.97)
CIE-LCHlch(56.03, 54.19, 102.19°)
OKLaboklab(61.71% -0.0373 0.116)
OKLCHoklch(61.71% 0.122 107.8)
XYZxyz(20.3345, 23.9447, 4.9169)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A20 #20238D
analogous
#8D5420 #8D8A20 #5A8D20
triadic
#8D8A20 #208D8A #8A208D
tetradic
#8D8A20 #208D54 #20238D #8D205A
square
#8D8A20 #208D54 #20238D #8D205A
split-complementary
#8D8A20 #205A8D #54208D
monochromatic
#292809 #5B5915 #8D8A20 #BFBB2B #D7D450

Accessibility & contrast

On white

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

On black

5.79
#8D8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A20
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A20#FFFFFF#000000##000000
##8D8A201.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#988176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a20;
/* rgb */ color: rgb(141, 138, 32);
/* oklch */ color: oklch(61.7% 0.122 107.8);
Tailwind
colors: {
  custom: {
    50: '#b2ab65',
    500: '#8d8a20',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a20;
$custom-light: #b2ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a20",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 58.349,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.12182,
    "h": 107.8
  },
  "luminance": 0.23944
}

Semantic roles & 50–950 ramp

primary
#8D8A20
secondary
#4E51BA
accent
#46E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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