#9C9F23#9C9F23

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

Color values

HEX#9C9F23
RGBrgb(156, 159, 35)
HSLhsl(61, 64%, 38%)
HSVhsv(61, 78%, 62%)
CMYKcmyk(1.9%, 0%, 78%, 37.6%)
CIE-LABlab(63.33, -15.66, 59.13)
CIE-LCHlch(63.33, 61.17, 104.84°)
OKLaboklab(67.85% -0.0496 0.1291)
OKLCHoklch(67.85% 0.138 111)
XYZxyz(26.4128, 31.9863, 6.3724)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9F23 #26239F
analogous
#9F6423 #9C9F23 #5E9F23
triadic
#9C9F23 #239C9F #9F239C
tetradic
#9C9F23 #239F64 #26239F #9F235E
square
#9C9F23 #239F64 #26239F #9F235E
split-complementary
#9C9F23 #235E9F #64239F
monochromatic
#3A3B0D #6B6D18 #9C9F23 #CDD12E #D9DC60

Accessibility & contrast

On white

2.84
#9C9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#9C9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9F23
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9F23#FFFFFF#000000##000000
##9C9F231.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#A79588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9c9f23;
/* rgb */ color: rgb(156, 159, 35);
/* oklch */ color: oklch(67.9% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#bdbb69',
    500: '#9c9f23',
    950: '#000000',
  },
}
SCSS
$custom: #9c9f23;
$custom-light: #bdbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9f23",
  "rgb": {
    "r": 156,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 61.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.13825,
    "h": 111
  },
  "luminance": 0.31986
}

Semantic roles & 50–950 ramp

primary
#9C9F23
secondary
#5F5DC1
accent
#41E745
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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