#C7CA59#C7CA59

#C7CA59 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.136 H 110.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C7CA59
RGBrgb(199, 202, 89)
HSLhsl(62, 52%, 57%)
HSVhsv(62, 56%, 79%)
CMYKcmyk(1.5%, 0%, 55.9%, 20.8%)
CIE-LABlab(79.10, -16.00, 54.95)
CIE-LCHlch(79.10, 57.23, 106.24°)
OKLaboklab(81.43% -0.0476 0.1274)
OKLCHoklch(81.43% 0.136 110.5)
XYZxyz(46.4781, 55.1055, 17.6373)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA59 #5C59CA
analogous
#CA9559 #C7CA59 #8FCA59
triadic
#C7CA59 #59C7CA #CA59C7
tetradic
#C7CA59 #59CA95 #5C59CA #CA598F
square
#C7CA59 #59CA95 #5C59CA #CA598F
split-complementary
#C7CA59 #598FCA #9559CA
monochromatic
#7D8029 #ABAE38 #C7CA59 #D7D987 #E6E8B6

Accessibility & contrast

On white

1.75
#C7CA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#C7CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA59
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA59#FFFFFF#000000##000000
##C7CA591.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24D
Deuteranopia (green-blind)
#D9C65F
Tritanopia (blue-blind)
#D3BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca59;
/* rgb */ color: rgb(199, 202, 89);
/* oklch */ color: oklch(81.4% 0.136 110.5);
Tailwind
colors: {
  custom: {
    50: '#dada8c',
    500: '#c7ca59',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca59;
$custom-light: #dada8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca59",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 61.593,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8143,
    "c": 0.13599,
    "h": 110.5
  },
  "luminance": 0.55104
}

Semantic roles & 50–950 ramp

primary
#C7CA59
secondary
#424088
accent
#4DDB51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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