#C9C847#C9C847

#C9C847 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.148 H 108.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C9C847
RGBrgb(201, 200, 71)
HSLhsl(60, 55%, 53%)
HSVhsv(60, 65%, 79%)
CMYKcmyk(0%, 0.5%, 64.7%, 21.2%)
CIE-LABlab(78.57, -15.40, 62.10)
CIE-LCHlch(78.57, 63.98, 103.93°)
OKLaboklab(80.99% -0.0479 0.1401)
OKLCHoklch(80.99% 0.148 108.9)
XYZxyz(45.8805, 54.1823, 14.0014)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C847 #4748C9
analogous
#C98747 #C9C847 #89C947
triadic
#C9C847 #47C9C8 #C847C9
tetradic
#C9C847 #47C987 #4748C9 #C94789
square
#C9C847 #47C987 #4748C9 #C94789
split-complementary
#C9C847 #4789C9 #8747C9
monochromatic
#747322 #A3A230 #C9C847 #D7D676 #E5E4A6

Accessibility & contrast

On white

1.77
#C9C847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#C9C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C847
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C847#FFFFFF#000000##000000
##C9C8471.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C035
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#D7BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c847;
/* rgb */ color: rgb(201, 200, 71);
/* oklch */ color: oklch(81.0% 0.148 108.9);
Tailwind
colors: {
  custom: {
    50: '#ddd881',
    500: '#c9c847',
    950: '#000000',
  },
}
SCSS
$custom: #c9c847;
$custom-light: #ddd881;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c847",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 59.538,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80994,
    "c": 0.14804,
    "h": 108.9
  },
  "luminance": 0.54181
}

Semantic roles & 50–950 ramp

primary
#C9C847
secondary
#38387D
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C847

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

Preview Lab → · Contrast checker → · Palette generator →

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