#8D9923#8D9923

#8D9923 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.136 H 115.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D9923
RGBrgb(141, 153, 35)
HSLhsl(66, 63%, 37%)
HSVhsv(66, 77%, 60%)
CMYKcmyk(7.8%, 0%, 77.1%, 40%)
CIE-LABlab(60.40, -19.17, 56.00)
CIE-LCHlch(60.40, 59.19, 108.90°)
OKLaboklab(65.2% -0.0585 0.123)
OKLCHoklch(65.2% 0.136 115.4)
XYZxyz(22.6797, 28.5669, 5.9090)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9923 #2F2399
analogous
#996A23 #8D9923 #529923
triadic
#8D9923 #238D99 #99238D
tetradic
#8D9923 #23996A #2F2399 #992352
square
#8D9923 #23996A #2F2399 #992352
split-complementary
#8D9923 #235299 #6A2399
monochromatic
#31350C #5F6718 #8D9923 #BBCB2E #CDDA5D

Accessibility & contrast

On white

3.13
#8D9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8D9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9923
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9923#FFFFFF#000000##000000
##8D99231.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49104
Deuteranopia (green-blind)
#A3932E
Tritanopia (blue-blind)
#969083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9923;
/* rgb */ color: rgb(141, 153, 35);
/* oklch */ color: oklch(65.2% 0.136 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b668',
    500: '#8d9923',
    950: '#000000',
  },
}
SCSS
$custom: #8d9923;
$custom-light: #b2b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9923",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 66.102,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65204,
    "c": 0.13618,
    "h": 115.4
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#8D9923
secondary
#6459BE
accent
#42E653
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9923

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

Preview Lab → · Contrast checker → · Palette generator →

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