#C2CA57#C2CA57

#C2CA57 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.0% C 0.139 H 112.8°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C2CA57
RGBrgb(194, 202, 87)
HSLhsl(64, 52%, 57%)
HSVhsv(64, 57%, 79%)
CMYKcmyk(4%, 0%, 56.9%, 20.8%)
CIE-LABlab(78.69, -18.21, 55.28)
CIE-LCHlch(78.69, 58.20, 108.23°)
OKLaboklab(81% -0.0537 0.128)
OKLCHoklch(81% 0.139 112.8)
XYZxyz(45.0900, 54.3994, 17.1398)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA57 #5F57CA
analogous
#CA9957 #C2CA57 #89CA57
triadic
#C2CA57 #57C2CA #CA57C2
tetradic
#C2CA57 #57CA99 #5F57CA #CA5789
square
#C2CA57 #57CA99 #5F57CA #CA5789
split-complementary
#C2CA57 #5789CA #9957CA
monochromatic
#797F28 #A5AD37 #C2CA57 #D3D986 #E4E7B4

Accessibility & contrast

On white

1.77
#C2CA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C2CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA57
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA57#FFFFFF#000000##000000
##C2CA571.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14B
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#CEBFB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2ca57;
/* rgb */ color: rgb(194, 202, 87);
/* oklch */ color: oklch(81.0% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#d7da8a',
    500: '#c2ca57',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca57;
$custom-light: #d7da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca57",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 64.174,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81003,
    "c": 0.13878,
    "h": 112.8
  },
  "luminance": 0.54399
}

Semantic roles & 50–950 ramp

primary
#C2CA57
secondary
#443F87
accent
#4CDB56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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