#8D8B22#8D8B22

#8D8B22 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.122 H 108.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D8B22
RGBrgb(141, 139, 34)
HSLhsl(59, 61%, 34%)
HSVhsv(59, 76%, 55%)
CMYKcmyk(0%, 1.4%, 75.9%, 44.7%)
CIE-LABlab(56.33, -11.89, 52.56)
CIE-LCHlch(56.33, 53.88, 102.75°)
OKLaboklab(61.95% -0.0383 0.1155)
OKLCHoklch(61.95% 0.122 108.4)
XYZxyz(20.5066, 24.2441, 5.1124)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B22 #22248D
analogous
#8D5622 #8D8B22 #598D22
triadic
#8D8B22 #228D8B #8B228D
tetradic
#8D8B22 #228D56 #22248D #8D2259
square
#8D8B22 #228D56 #22248D #8D2259
split-complementary
#8D8B22 #22598D #56228D
monochromatic
#2A2A0A #5C5A16 #8D8B22 #BEBC2E #D6D354

Accessibility & contrast

On white

3.59
#8D8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B22
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B22#FFFFFF#000000##000000
##8D8B221.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#988277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b22;
/* rgb */ color: rgb(141, 139, 34);
/* oklch */ color: oklch(61.9% 0.122 108.4);
Tailwind
colors: {
  custom: {
    50: '#b2ac66',
    500: '#8d8b22',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b22;
$custom-light: #b2ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b22",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 58.879,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.12168,
    "h": 108.4
  },
  "luminance": 0.24243
}

Semantic roles & 50–950 ramp

primary
#8D8B22
secondary
#5153B9
accent
#47E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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