#C2CA59#C2CA59

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

Color values

HEX#C2CA59
RGBrgb(194, 202, 89)
HSLhsl(64, 52%, 57%)
HSVhsv(64, 56%, 79%)
CMYKcmyk(4%, 0%, 55.9%, 20.8%)
CIE-LABlab(78.71, -18.05, 54.40)
CIE-LCHlch(78.71, 57.32, 108.36°)
OKLaboklab(81.02% -0.0531 0.1263)
OKLCHoklch(81.02% 0.137 112.8)
XYZxyz(45.1728, 54.4325, 17.5761)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA59 #6159CA
analogous
#CA9A59 #C2CA59 #8ACA59
triadic
#C2CA59 #59C2CA #CA59C2
tetradic
#C2CA59 #59CA9A #6159CA #CA598A
square
#C2CA59 #59CA9A #6159CA #CA598A
split-complementary
#C2CA59 #598ACA #9A59CA
monochromatic
#7A8029 #A6AE38 #C2CA59 #D3D987 #E4E8B6

Accessibility & contrast

On white

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

On black

11.89
#C2CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA59
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA59#FFFFFF#000000##000000
##C2CA591.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ca59;
/* rgb */ color: rgb(194, 202, 89);
/* oklch */ color: oklch(81.0% 0.137 112.8);
Tailwind
colors: {
  custom: {
    50: '#d7da8c',
    500: '#c2ca59',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca59;
$custom-light: #d7da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca59",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 64.248,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81024,
    "c": 0.13702,
    "h": 112.8
  },
  "luminance": 0.54432
}

Semantic roles & 50–950 ramp

primary
#C2CA59
secondary
#454088
accent
#4DDB57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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