#9D9623#9D9623

#9D9623 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.129 H 105.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D9623
RGBrgb(157, 150, 35)
HSLhsl(57, 64%, 38%)
HSVhsv(57, 78%, 62%)
CMYKcmyk(0%, 4.5%, 77.7%, 38.4%)
CIE-LABlab(60.87, -10.50, 56.92)
CIE-LCHlch(60.87, 57.88, 100.45°)
OKLaboklab(65.91% -0.0352 0.1243)
OKLCHoklch(65.91% 0.129 105.8)
XYZxyz(25.1154, 29.1031, 5.8843)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9623 #232A9D
analogous
#9D5923 #9D9623 #679D23
triadic
#9D9623 #239D96 #96239D
tetradic
#9D9623 #239D59 #232A9D #9D2367
square
#9D9623 #239D59 #232A9D #9D2367
split-complementary
#9D9623 #23679D #59239D
monochromatic
#39360D #6B6618 #9D9623 #CFC62E #DBD45F

Accessibility & contrast

On white

3.08
#9D9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9D9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9623
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9623#FFFFFF#000000##000000
##9D96231.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49006
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d9623;
/* rgb */ color: rgb(157, 150, 35);
/* oklch */ color: oklch(65.9% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#beb468',
    500: '#9d9623',
    950: '#000000',
  },
}
SCSS
$custom: #9d9623;
$custom-light: #beb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9623",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 56.557,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.1292,
    "h": 105.8
  },
  "luminance": 0.29102
}

Semantic roles & 50–950 ramp

primary
#9D9623
secondary
#5C61C0
accent
#4BE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9623

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

Preview Lab → · Contrast checker → · Palette generator →

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