#C7CD59#C7CD59

#C7CD59 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.139 H 111.8°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C7CD59
RGBrgb(199, 205, 89)
HSLhsl(63, 54%, 58%)
HSVhsv(63, 57%, 80%)
CMYKcmyk(2.9%, 0%, 56.6%, 19.6%)
CIE-LABlab(79.91, -17.50, 55.86)
CIE-LCHlch(79.91, 58.53, 107.40°)
OKLaboklab(82.08% -0.0518 0.1294)
OKLCHoklch(82.08% 0.139 111.8)
XYZxyz(47.1888, 56.5270, 17.8742)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD59 #5F59CD
analogous
#CD9959 #C7CD59 #8DCD59
triadic
#C7CD59 #59C7CD #CD59C7
tetradic
#C7CD59 #59CD99 #5F59CD #CD598D
square
#C7CD59 #59CD99 #5F59CD #CD598D
split-complementary
#C7CD59 #598DCD #9959CD
monochromatic
#7F8428 #ACB336 #C7CD59 #D7DB88 #E7E9B7

Accessibility & contrast

On white

1.71
#C7CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#C7CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD59
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD59#FFFFFF#000000##000000
##C7CD591.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54D
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#D3C2B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd59;
/* rgb */ color: rgb(199, 205, 89);
/* oklch */ color: oklch(82.1% 0.139 111.8);
Tailwind
colors: {
  custom: {
    50: '#dadc8c',
    500: '#c7cd59',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd59;
$custom-light: #dadc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd59",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 63.103,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82078,
    "c": 0.13934,
    "h": 111.8
  },
  "luminance": 0.56526
}

Semantic roles & 50–950 ramp

primary
#C7CD59
secondary
#433F8B
accent
#4BDD52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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