#C9C045#C9C045

#C9C045 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.142 H 105.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#C9C045
RGBrgb(201, 192, 69)
HSLhsl(56, 55%, 53%)
HSVhsv(56, 66%, 79%)
CMYKcmyk(0%, 4.5%, 65.7%, 21.2%)
CIE-LABlab(76.40, -11.47, 60.67)
CIE-LCHlch(76.40, 61.74, 100.70°)
OKLaboklab(79.27% -0.037 0.1368)
OKLCHoklch(79.27% 0.142 105.1)
XYZxyz(44.0129, 50.5480, 13.0674)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C045 #454EC9
analogous
#C97E45 #C9C045 #90C945
triadic
#C9C045 #45C9C0 #C045C9
tetradic
#C9C045 #45C97E #454EC9 #C94590
square
#C9C045 #45C97E #454EC9 #C94590
split-complementary
#C9C045 #4590C9 #7E45C9
monochromatic
#726D21 #A29A2F #C9C045 #D7D074 #E5E0A4

Accessibility & contrast

On white

1.89
#C9C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#C9C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C045
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C045#FFFFFF#000000##000000
##C9C0451.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B935
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#D7B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9c045;
/* rgb */ color: rgb(201, 192, 69);
/* oklch */ color: oklch(79.3% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#ddd27f',
    500: '#c9c045',
    950: '#000000',
  },
}
SCSS
$custom: #c9c045;
$custom-light: #ddd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c045",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 55.909,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79265,
    "c": 0.14167,
    "h": 105.1
  },
  "luminance": 0.50546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9C045

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

Preview Lab → · Contrast checker → · Palette generator →

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