#C9B22E#C9B22E

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

Color values

HEX#C9B22E
RGBrgb(201, 178, 46)
HSLhsl(51, 63%, 48%)
HSVhsv(51, 77%, 79%)
CMYKcmyk(0%, 11.4%, 77.1%, 21.2%)
CIE-LABlab(72.53, -5.35, 65.42)
CIE-LCHlch(72.53, 65.64, 94.68°)
OKLaboklab(76.14% -0.022 0.1427)
OKLCHoklch(76.14% 0.144 98.8)
XYZxyz(40.5030, 44.4576, 9.0320)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B22E #2E45C9
analogous
#C9642E #C9B22E #92C92E
triadic
#C9B22E #2EC9B2 #B22EC9
tetradic
#C9B22E #2EC964 #2E45C9 #C92E92
square
#C9B22E #2EC964 #2E45C9 #C92E92
split-complementary
#C9B22E #2E92C9 #642EC9
monochromatic
#655A17 #978623 #C9B22E #D9C75B #E5D88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9B22E#FFFFFF#000000##000000
##C9B22E1.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)
#C4AD10
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#D9A499
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b22e;
/* rgb */ color: rgb(201, 178, 46);
/* oklch */ color: oklch(76.1% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#dec872',
    500: '#c9b22e',
    950: '#000000',
  },
}
SCSS
$custom: #c9b22e;
$custom-light: #dec872;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b22e",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 51.097,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.14439,
    "h": 98.8
  },
  "luminance": 0.44456
}

Semantic roles & 50–950 ramp

primary
#C9B22E
secondary
#848FCF
accent
#5AE642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C9B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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