#C9C438#C9C438

#C9C438 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.0% C 0.154 H 107.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#C9C438
RGBrgb(201, 196, 56)
HSLhsl(58, 57%, 50%)
HSVhsv(58, 72%, 79%)
CMYKcmyk(0%, 2.5%, 72.1%, 21.2%)
CIE-LABlab(77.39, -14.17, 66.57)
CIE-LCHlch(77.39, 68.06, 102.02°)
OKLaboklab(80.02% -0.0459 0.147)
OKLCHoklch(80.02% 0.154 107.3)
XYZxyz(44.5429, 52.1844, 11.4669)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C438 #383DC9
analogous
#C97B38 #C9C438 #85C938
triadic
#C9C438 #38C9C4 #C438C9
tetradic
#C9C438 #38C97B #383DC9 #C93885
square
#C9C438 #38C97B #383DC9 #C93885
split-complementary
#C9C438 #3885C9 #7B38C9
monochromatic
#6A671D #9A962A #C9C438 #D6D268 #E3E198

Accessibility & contrast

On white

1.84
#C9C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#C9C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C438
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C438#FFFFFF#000000##000000
##C9C4381.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC1E
Deuteranopia (green-blind)
#D7C242
Tritanopia (blue-blind)
#D8B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c9c438;
/* rgb */ color: rgb(201, 196, 56);
/* oklch */ color: oklch(80.0% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#ddd578',
    500: '#c9c438',
    950: '#000000',
  },
}
SCSS
$custom: #c9c438;
$custom-light: #ddd578;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c438",
  "rgb": {
    "r": 201,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 57.931,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80023,
    "c": 0.15403,
    "h": 107.3
  },
  "luminance": 0.52183
}

Semantic roles & 50–950 ramp

primary
#C9C438
secondary
#313474
accent
#4DE147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C438

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

Preview Lab → · Contrast checker → · Palette generator →

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