#9D9F23#9D9F23

#9D9F23 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.138 H 110.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D9F23
RGBrgb(157, 159, 35)
HSLhsl(61, 64%, 38%)
HSVhsv(61, 78%, 62%)
CMYKcmyk(1.3%, 0%, 78%, 37.6%)
CIE-LABlab(63.41, -15.22, 59.23)
CIE-LCHlch(63.41, 61.16, 104.41°)
OKLaboklab(67.94% -0.0484 0.1292)
OKLCHoklch(67.94% 0.138 110.5)
XYZxyz(26.6071, 32.0865, 6.3815)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F23 #25239F
analogous
#9F6323 #9D9F23 #5F9F23
triadic
#9D9F23 #239D9F #9F239D
tetradic
#9D9F23 #239F63 #25239F #9F235F
square
#9D9F23 #239F63 #25239F #9F235F
split-complementary
#9D9F23 #235F9F #63239F
monochromatic
#3A3B0D #6B6D18 #9D9F23 #CED12E #DADC60

Accessibility & contrast

On white

2.83
#9D9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9D9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F23
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F23#FFFFFF#000000##000000
##9D9F231.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#A89588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9d9f23;
/* rgb */ color: rgb(157, 159, 35);
/* oklch */ color: oklch(67.9% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#bebb69',
    500: '#9d9f23',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f23;
$custom-light: #bebb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f23",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 60.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.13801,
    "h": 110.5
  },
  "luminance": 0.32086
}

Semantic roles & 50–950 ramp

primary
#9D9F23
secondary
#5E5DC1
accent
#41E744
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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