#C9B22D#C9B22D

#C9B22D is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.145 H 98.8°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C9B22D
RGBrgb(201, 178, 45)
HSLhsl(51, 63%, 48%)
HSVhsv(51, 78%, 79%)
CMYKcmyk(0%, 11.4%, 77.6%, 21.2%)
CIE-LABlab(72.53, -5.39, 65.74)
CIE-LCHlch(72.53, 65.96, 94.69°)
OKLaboklab(76.14% -0.0222 0.1432)
OKLCHoklch(76.14% 0.145 98.8)
XYZxyz(40.4835, 44.4498, 8.9294)
Luminance0.4445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B22D #2D44C9
analogous
#C9642D #C9B22D #92C92D
triadic
#C9B22D #2DC9B2 #B22DC9
tetradic
#C9B22D #2DC964 #2D44C9 #C92D92
square
#C9B22D #2DC964 #2D44C9 #C92D92
split-complementary
#C9B22D #2D92C9 #642DC9
monochromatic
#655917 #978622 #C9B22D #DAC759 #E5D88B

Accessibility & contrast

On white

2.12
#C9B22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C9B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B22D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B22D#FFFFFF#000000##000000
##C9B22D1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0D
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#D9A499
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b22d;
/* rgb */ color: rgb(201, 178, 45);
/* oklch */ color: oklch(76.1% 0.145 98.8);
Tailwind
colors: {
  custom: {
    50: '#dec871',
    500: '#c9b22d',
    950: '#000000',
  },
}
SCSS
$custom: #c9b22d;
$custom-light: #dec871;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b22d",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 51.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76137,
    "c": 0.14491,
    "h": 98.8
  },
  "luminance": 0.44448
}

Semantic roles & 50–950 ramp

primary
#C9B22D
secondary
#838ECF
accent
#5AE641
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C9B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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