#C9C538#C9C538

#C9C538 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.2% C 0.155 H 107.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#C9C538
RGBrgb(201, 197, 56)
HSLhsl(58, 57%, 50%)
HSVhsv(58, 72%, 79%)
CMYKcmyk(0%, 2%, 72.1%, 21.2%)
CIE-LABlab(77.66, -14.68, 66.83)
CIE-LCHlch(77.66, 68.42, 102.39°)
OKLaboklab(80.24% -0.0473 0.1476)
OKLCHoklch(80.24% 0.155 107.8)
XYZxyz(44.7692, 52.6370, 11.5423)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C538 #383CC9
analogous
#C97D38 #C9C538 #84C938
triadic
#C9C538 #38C9C5 #C538C9
tetradic
#C9C538 #38C97D #383CC9 #C93884
square
#C9C538 #38C97D #383CC9 #C93884
split-complementary
#C9C538 #3884C9 #7D38C9
monochromatic
#6A681D #9A972A #C9C538 #D6D368 #E3E198

Accessibility & contrast

On white

1.82
#C9C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#C9C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C538
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C538#FFFFFF#000000##000000
##C9C5381.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#D8B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c9c538;
/* rgb */ color: rgb(201, 197, 56);
/* oklch */ color: oklch(80.2% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#ddd678',
    500: '#c9c538',
    950: '#000000',
  },
}
SCSS
$custom: #c9c538;
$custom-light: #ddd678;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c538",
  "rgb": {
    "r": 201,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 58.345,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80238,
    "c": 0.15498,
    "h": 107.8
  },
  "luminance": 0.52636
}

Semantic roles & 50–950 ramp

primary
#C9C538
secondary
#313374
accent
#4BE147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C538

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

Preview Lab → · Contrast checker → · Palette generator →

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