#C9C145#C9C145

#C9C145 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.143 H 105.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#C9C145
RGBrgb(201, 193, 69)
HSLhsl(56, 55%, 53%)
HSVhsv(56, 66%, 79%)
CMYKcmyk(0%, 4%, 65.7%, 21.2%)
CIE-LABlab(76.67, -11.98, 60.94)
CIE-LCHlch(76.67, 62.11, 101.12°)
OKLaboklab(79.48% -0.0384 0.1373)
OKLCHoklch(79.48% 0.143 105.6)
XYZxyz(44.2332, 50.9887, 13.1409)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C145 #454DC9
analogous
#C97F45 #C9C145 #8FC945
triadic
#C9C145 #45C9C1 #C145C9
tetradic
#C9C145 #45C97F #454DC9 #C9458F
square
#C9C145 #45C97F #454DC9 #C9458F
split-complementary
#C9C145 #458FC9 #7F45C9
monochromatic
#726D21 #A29B2F #C9C145 #D7D174 #E5E1A4

Accessibility & contrast

On white

1.88
#C9C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#C9C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C145
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C145#FFFFFF#000000##000000
##C9C1451.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#D7B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c145;
/* rgb */ color: rgb(201, 193, 69);
/* oklch */ color: oklch(79.5% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#ddd37f',
    500: '#c9c145',
    950: '#000000',
  },
}
SCSS
$custom: #c9c145;
$custom-light: #ddd37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c145",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 56.364,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79478,
    "c": 0.14261,
    "h": 105.6
  },
  "luminance": 0.50987
}

Semantic roles & 50–950 ramp

primary
#C9C145
secondary
#373B7B
accent
#52DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C9C145

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

Preview Lab → · Contrast checker → · Palette generator →

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