#8D9D23#8D9D23

#8D9D23 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.141 H 117.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D9D23
RGBrgb(141, 157, 35)
HSLhsl(68, 64%, 38%)
HSVhsv(68, 78%, 62%)
CMYKcmyk(10.2%, 0%, 77.7%, 38.4%)
CIE-LABlab(61.57, -21.21, 57.08)
CIE-LCHlch(61.57, 60.89, 110.38°)
OKLaboklab(66.14% -0.0641 0.1253)
OKLCHoklch(66.14% 0.141 117.1)
XYZxyz(23.3454, 29.8983, 6.1309)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D23 #33239D
analogous
#9D7023 #8D9D23 #509D23
triadic
#8D9D23 #238D9D #9D238D
tetradic
#8D9D23 #239D70 #33239D #9D2350
square
#8D9D23 #239D70 #33239D #9D2350
split-complementary
#8D9D23 #23509D #70239D
monochromatic
#33390D #606B18 #8D9D23 #BACF2E #CBDB5F

Accessibility & contrast

On white

3.01
#8D9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D23
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D23#FFFFFF#000000##000000
##8D9D231.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89401
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d23;
/* rgb */ color: rgb(141, 157, 35);
/* oklch */ color: oklch(66.1% 0.141 117.1);
Tailwind
colors: {
  custom: {
    50: '#b2b969',
    500: '#8d9d23',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d23;
$custom-light: #b2b969;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d23",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 67.869,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66143,
    "c": 0.14072,
    "h": 117.1
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#8D9D23
secondary
#695CC0
accent
#41E757
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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