#8D9823#8D9823

#8D9823 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.0% C 0.135 H 115.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D9823
RGBrgb(141, 152, 35)
HSLhsl(66, 63%, 37%)
HSVhsv(66, 77%, 60%)
CMYKcmyk(7.2%, 0%, 77%, 40.4%)
CIE-LABlab(60.11, -18.66, 55.73)
CIE-LCHlch(60.11, 58.77, 108.51°)
OKLaboklab(64.97% -0.0571 0.1224)
OKLCHoklch(64.97% 0.135 115)
XYZxyz(22.5168, 28.2409, 5.8547)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9823 #2E2398
analogous
#986923 #8D9823 #539823
triadic
#8D9823 #238D98 #98238D
tetradic
#8D9823 #239869 #2E2398 #982353
square
#8D9823 #239869 #2E2398 #982353
split-complementary
#8D9823 #235398 #692398
monochromatic
#31350C #5F6618 #8D9823 #BBCA2E #CED95C

Accessibility & contrast

On white

3.16
#8D9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8D9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9823
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9823#FFFFFF#000000##000000
##8D98231.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39005
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#978F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9823;
/* rgb */ color: rgb(141, 152, 35);
/* oklch */ color: oklch(65.0% 0.135 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b668',
    500: '#8d9823',
    950: '#000000',
  },
}
SCSS
$custom: #8d9823;
$custom-light: #b2b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9823",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 65.641,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.13506,
    "h": 115
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#8D9823
secondary
#6259BE
accent
#42E652
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9823

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

Preview Lab → · Contrast checker → · Palette generator →

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