#C9C331#C9C331

#C9C331 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.8% C 0.157 H 107.0°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#C9C331
RGBrgb(201, 195, 49)
HSLhsl(58, 61%, 49%)
HSVhsv(58, 76%, 79%)
CMYKcmyk(0%, 3%, 75.6%, 21.2%)
CIE-LABlab(77.08, -13.97, 68.62)
CIE-LCHlch(77.08, 70.03, 101.51°)
OKLaboklab(79.77% -0.046 0.1501)
OKLCHoklch(79.77% 0.157 107)
XYZxyz(44.1587, 51.6710, 10.5526)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C331 #3137C9
analogous
#C97731 #C9C331 #83C931
triadic
#C9C331 #31C9C3 #C331C9
tetradic
#C9C331 #31C977 #3137C9 #C93183
square
#C9C331 #31C977 #3137C9 #C93183
split-complementary
#C9C331 #3183C9 #7731C9
monochromatic
#676419 #989325 #C9C331 #D8D35F #E4E190

Accessibility & contrast

On white

1.85
#C9C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#C9C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C331
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C331#FFFFFF#000000##000000
##C9C3311.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0C
Deuteranopia (green-blind)
#D7C13D
Tritanopia (blue-blind)
#D8B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c331;
/* rgb */ color: rgb(201, 195, 49);
/* oklch */ color: oklch(79.8% 0.157 107.0);
Tailwind
colors: {
  custom: {
    50: '#ddd475',
    500: '#c9c331',
    950: '#000000',
  },
}
SCSS
$custom: #c9c331;
$custom-light: #ddd475;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c331",
  "rgb": {
    "r": 201,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 57.632,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79766,
    "c": 0.15699,
    "h": 107
  },
  "luminance": 0.51669
}

Semantic roles & 50–950 ramp

primary
#C9C331
secondary
#2D3071
accent
#4AE444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C331

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

Preview Lab → · Contrast checker → · Palette generator →

#C9C331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva