#8D8E22#8D8E22

#8D8E22 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.125 H 110.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D8E22
RGBrgb(141, 142, 34)
HSLhsl(61, 61%, 35%)
HSVhsv(61, 76%, 56%)
CMYKcmyk(0.7%, 0%, 76.1%, 44.3%)
CIE-LABlab(57.20, -13.49, 53.36)
CIE-LCHlch(57.20, 55.04, 104.18°)
OKLaboklab(62.64% -0.0428 0.1172)
OKLCHoklch(62.64% 0.125 110.1)
XYZxyz(20.9470, 25.1248, 5.2592)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E22 #23228E
analogous
#8E5922 #8D8E22 #578E22
triadic
#8D8E22 #228D8E #8E228D
tetradic
#8D8E22 #228E59 #23228E #8E2257
square
#8D8E22 #228E59 #23228E #8E2257
split-complementary
#8D8E22 #22578E #59228E
monochromatic
#2B2B0A #5C5D16 #8D8E22 #BEBF2E #D5D654

Accessibility & contrast

On white

3.49
#8D8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E22
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E22#FFFFFF#000000##000000
##8D8E221.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#97857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e22;
/* rgb */ color: rgb(141, 142, 34);
/* oklch */ color: oklch(62.6% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae66',
    500: '#8d8e22',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e22;
$custom-light: #b2ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e22",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 60.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62638,
    "c": 0.12477,
    "h": 110.1
  },
  "luminance": 0.25124
}

Semantic roles & 50–950 ramp

primary
#8D8E22
secondary
#5352BA
accent
#43E445
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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