#C9C758#C9C758

#C9C758 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.133 H 108.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C9C758
RGBrgb(201, 199, 88)
HSLhsl(59, 51%, 57%)
HSVhsv(59, 56%, 79%)
CMYKcmyk(0%, 1%, 56.2%, 21.2%)
CIE-LABlab(78.44, -13.75, 54.70)
CIE-LCHlch(78.44, 56.40, 104.11°)
OKLaboklab(80.94% -0.0414 0.1267)
OKLCHoklch(80.94% 0.133 108.1)
XYZxyz(46.2736, 53.9702, 17.2104)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C758 #585AC9
analogous
#C98F58 #C9C758 #93C958
triadic
#C9C758 #58C9C7 #C758C9
tetradic
#C9C758 #58C98F #585AC9 #C95893
square
#C9C758 #58C98F #585AC9 #C95893
split-complementary
#C9C758 #5893C9 #8F58C9
monochromatic
#7E7C29 #ACAA38 #C9C758 #D8D786 #E7E6B4

Accessibility & contrast

On white

1.78
#C9C758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#C9C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C758
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C758#FFFFFF#000000##000000
##C9C7581.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#D6BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c758;
/* rgb */ color: rgb(201, 199, 88);
/* oklch */ color: oklch(80.9% 0.133 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcd78b',
    500: '#c9c758',
    950: '#000000',
  },
}
SCSS
$custom: #c9c758;
$custom-light: #dcd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c758",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 58.938,
    "s": 51.131,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80942,
    "c": 0.13331,
    "h": 108.1
  },
  "luminance": 0.53969
}

Semantic roles & 50–950 ramp

primary
#C9C758
secondary
#3F4186
accent
#50DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9C758

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

Preview Lab → · Contrast checker → · Palette generator →

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