#C7CA57#C7CA57

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

Color values

HEX#C7CA57
RGBrgb(199, 202, 87)
HSLhsl(62, 52%, 57%)
HSVhsv(62, 57%, 79%)
CMYKcmyk(1.5%, 0%, 56.9%, 20.8%)
CIE-LABlab(79.08, -16.16, 55.82)
CIE-LCHlch(79.08, 58.11, 106.14°)
OKLaboklab(81.41% -0.0482 0.129)
OKLCHoklch(81.41% 0.138 110.5)
XYZxyz(46.3952, 55.0724, 17.2010)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA57 #5A57CA
analogous
#CA9457 #C7CA57 #8ECA57
triadic
#C7CA57 #57C7CA #CA57C7
tetradic
#C7CA57 #57CA94 #5A57CA #CA578E
square
#C7CA57 #57CA94 #5A57CA #CA578E
split-complementary
#C7CA57 #578ECA #9457CA
monochromatic
#7C7F28 #AAAD37 #C7CA57 #D7D986 #E6E7B4

Accessibility & contrast

On white

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

On black

12.01
#C7CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA57
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA57#FFFFFF#000000##000000
##C7CA571.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ca57;
/* rgb */ color: rgb(199, 202, 87);
/* oklch */ color: oklch(81.4% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#dada8a',
    500: '#c7ca57',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca57;
$custom-light: #dada8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca57",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 61.565,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81409,
    "c": 0.13774,
    "h": 110.5
  },
  "luminance": 0.55071
}

Semantic roles & 50–950 ramp

primary
#C7CA57
secondary
#413F87
accent
#4CDB50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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