#9D9E23#9D9E23

#9D9E23 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.137 H 110.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9D9E23
RGBrgb(157, 158, 35)
HSLhsl(60, 64%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0.6%, 0%, 77.8%, 38%)
CIE-LABlab(63.13, -14.70, 58.98)
CIE-LCHlch(63.13, 60.78, 104.00°)
OKLaboklab(67.71% -0.0469 0.1287)
OKLCHoklch(67.71% 0.137 110)
XYZxyz(26.4358, 31.7439, 6.3244)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E23 #24239E
analogous
#9E6223 #9D9E23 #5F9E23
triadic
#9D9E23 #239D9E #9E239D
tetradic
#9D9E23 #239E62 #24239E #9E235F
square
#9D9E23 #239E62 #24239E #9E235F
split-complementary
#9D9E23 #235F9E #62239E
monochromatic
#393A0D #6B6C18 #9D9E23 #CFD02E #DBDC60

Accessibility & contrast

On white

2.86
#9D9E23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#9D9E23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E23
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E23#FFFFFF#000000##000000
##9D9E231.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#A89487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e23;
/* rgb */ color: rgb(157, 158, 35);
/* oklch */ color: oklch(67.7% 0.137 110.0);
Tailwind
colors: {
  custom: {
    50: '#beba69',
    500: '#9d9e23',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e23;
$custom-light: #beba69;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e23",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 60.488,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67712,
    "c": 0.13699,
    "h": 110
  },
  "luminance": 0.31743
}

Semantic roles & 50–950 ramp

primary
#9D9E23
secondary
#5D5CC1
accent
#41E742
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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