#9D9523#9D9523

#9D9523 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.128 H 105.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D9523
RGBrgb(157, 149, 35)
HSLhsl(56, 64%, 38%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5.1%, 77.7%, 38.4%)
CIE-LABlab(60.59, -9.96, 56.67)
CIE-LCHlch(60.59, 57.54, 99.97°)
OKLaboklab(65.69% -0.0337 0.1238)
OKLCHoklch(65.69% 0.128 105.2)
XYZxyz(24.9565, 28.7853, 5.8313)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9523 #232B9D
analogous
#9D5823 #9D9523 #689D23
triadic
#9D9523 #239D95 #95239D
tetradic
#9D9523 #239D58 #232B9D #9D2368
square
#9D9523 #239D58 #232B9D #9D2368
split-complementary
#9D9523 #23689D #58239D
monochromatic
#39360D #6B6618 #9D9523 #CFC42E #DBD35F

Accessibility & contrast

On white

3.11
#9D9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9D9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9523
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9523#FFFFFF#000000##000000
##9D95231.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F06
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A98A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9523;
/* rgb */ color: rgb(157, 149, 35);
/* oklch */ color: oklch(65.7% 0.128 105.2);
Tailwind
colors: {
  custom: {
    50: '#beb368',
    500: '#9d9523',
    950: '#000000',
  },
}
SCSS
$custom: #9d9523;
$custom-light: #beb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9523",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 56.066,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.12828,
    "h": 105.2
  },
  "luminance": 0.28784
}

Semantic roles & 50–950 ramp

primary
#9D9523
secondary
#5C62C0
accent
#4CE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9523

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

Preview Lab → · Contrast checker → · Palette generator →

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