#C9C848#C9C848

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

Color values

HEX#C9C848
RGBrgb(201, 200, 72)
HSLhsl(60, 54%, 54%)
HSVhsv(60, 64%, 79%)
CMYKcmyk(0%, 0.5%, 64.2%, 21.2%)
CIE-LABlab(78.58, -15.34, 61.70)
CIE-LCHlch(78.58, 63.58, 103.96°)
OKLaboklab(81% -0.0476 0.1394)
OKLCHoklch(81% 0.147 108.9)
XYZxyz(45.9129, 54.1953, 14.1718)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C848 #4849C9
analogous
#C98748 #C9C848 #89C948
triadic
#C9C848 #48C9C8 #C848C9
tetradic
#C9C848 #48C987 #4849C9 #C94889
square
#C9C848 #48C987 #4849C9 #C94889
split-complementary
#C9C848 #4889C9 #8748C9
monochromatic
#747422 #A4A330 #C9C848 #D7D677 #E5E4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C848#FFFFFF#000000##000000
##C9C8481.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)
#D8C037
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#D7BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c848;
/* rgb */ color: rgb(201, 200, 72);
/* oklch */ color: oklch(81.0% 0.147 108.9);
Tailwind
colors: {
  custom: {
    50: '#dcd881',
    500: '#c9c848',
    950: '#000000',
  },
}
SCSS
$custom: #c9c848;
$custom-light: #dcd881;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c848",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 59.535,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81002,
    "c": 0.14731,
    "h": 108.9
  },
  "luminance": 0.54194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9C848

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

Preview Lab → · Contrast checker → · Palette generator →

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