#9D9824#9D9824

#9D9824 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.131 H 106.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D9824
RGBrgb(157, 152, 36)
HSLhsl(58, 63%, 38%)
HSVhsv(58, 77%, 62%)
CMYKcmyk(0%, 3.2%, 77.1%, 38.4%)
CIE-LABlab(61.44, -11.52, 57.11)
CIE-LCHlch(61.44, 58.26, 101.40°)
OKLaboklab(66.36% -0.038 0.1249)
OKLCHoklch(66.36% 0.131 106.9)
XYZxyz(25.4523, 29.7529, 6.0709)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9824 #24299D
analogous
#9D5C24 #9D9824 #659D24
triadic
#9D9824 #249D98 #98249D
tetradic
#9D9824 #249D5C #24299D #9D2465
square
#9D9824 #249D5C #24299D #9D2465
split-complementary
#9D9824 #24659D #5C249D
monochromatic
#39380D #6B6819 #9D9824 #CFC82F #DBD661

Accessibility & contrast

On white

3.02
#9D9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9D9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9824
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9824#FFFFFF#000000##000000
##9D98241.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59207
Deuteranopia (green-blind)
#A8962D
Tritanopia (blue-blind)
#A98E82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9824;
/* rgb */ color: rgb(157, 152, 36);
/* oklch */ color: oklch(66.4% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#beb669',
    500: '#9d9824',
    950: '#000000',
  },
}
SCSS
$custom: #9d9824;
$custom-light: #beb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9824",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 57.521,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66364,
    "c": 0.13056,
    "h": 106.9
  },
  "luminance": 0.29752
}

Semantic roles & 50–950 ramp

primary
#9D9824
secondary
#5D61C0
accent
#49E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9824

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

Preview Lab → · Contrast checker → · Palette generator →

#9D9824 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva