#C7CA58#C7CA58

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

Color values

HEX#C7CA58
RGBrgb(199, 202, 88)
HSLhsl(62, 52%, 57%)
HSVhsv(62, 56%, 79%)
CMYKcmyk(1.5%, 0%, 56.4%, 20.8%)
CIE-LABlab(79.09, -16.08, 55.38)
CIE-LCHlch(79.09, 57.67, 106.19°)
OKLaboklab(81.42% -0.0479 0.1282)
OKLCHoklch(81.42% 0.137 110.5)
XYZxyz(46.4364, 55.0889, 17.4177)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA58 #5B58CA
analogous
#CA9458 #C7CA58 #8ECA58
triadic
#C7CA58 #58C7CA #CA58C7
tetradic
#C7CA58 #58CA94 #5B58CA #CA588E
square
#C7CA58 #58CA94 #5B58CA #CA588E
split-complementary
#C7CA58 #588ECA #9458CA
monochromatic
#7D7F28 #ABAE37 #C7CA58 #D7D986 #E6E7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA58#FFFFFF#000000##000000
##C7CA581.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)
#D8C24C
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#D3BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca58;
/* rgb */ color: rgb(199, 202, 88);
/* oklch */ color: oklch(81.4% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#dada8b',
    500: '#c7ca58',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca58;
$custom-light: #dada8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca58",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 61.579,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8142,
    "c": 0.13687,
    "h": 110.5
  },
  "luminance": 0.55088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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