#8D9B23#8D9B23

#8D9B23 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.7% C 0.138 H 116.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D9B23
RGBrgb(141, 155, 35)
HSLhsl(67, 63%, 37%)
HSVhsv(67, 77%, 61%)
CMYKcmyk(9%, 0%, 77.4%, 39.2%)
CIE-LABlab(60.98, -20.19, 56.54)
CIE-LCHlch(60.98, 60.04, 109.66°)
OKLaboklab(65.67% -0.0613 0.1241)
OKLCHoklch(65.67% 0.138 116.3)
XYZxyz(23.0098, 29.2271, 6.0190)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B23 #31239B
analogous
#9B6D23 #8D9B23 #519B23
triadic
#8D9B23 #238D9B #9B238D
tetradic
#8D9B23 #239B6D #31239B #9B2351
square
#8D9B23 #239B6D #31239B #9B2351
split-complementary
#8D9B23 #23519B #6D239B
monochromatic
#32370C #606918 #8D9B23 #BACD2E #CCDB5E

Accessibility & contrast

On white

3.07
#8D9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8D9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B23
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B23#FFFFFF#000000##000000
##8D9B231.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69303
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#969285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b23;
/* rgb */ color: rgb(141, 155, 35);
/* oklch */ color: oklch(65.7% 0.138 116.3);
Tailwind
colors: {
  custom: {
    50: '#b2b868',
    500: '#8d9b23',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b23;
$custom-light: #b2b868;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b23",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 67,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.13843,
    "h": 116.3
  },
  "luminance": 0.29227
}

Semantic roles & 50–950 ramp

primary
#8D9B23
secondary
#665ABF
accent
#42E655
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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