#C2CA54#C2CA54

#C2CA54 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.141 H 112.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#C2CA54
RGBrgb(194, 202, 84)
HSLhsl(64, 53%, 56%)
HSVhsv(64, 58%, 79%)
CMYKcmyk(4%, 0%, 58.4%, 20.8%)
CIE-LABlab(78.67, -18.43, 56.57)
CIE-LCHlch(78.67, 59.50, 108.05°)
OKLaboklab(80.97% -0.0547 0.1304)
OKLCHoklch(80.97% 0.141 112.7)
XYZxyz(44.9700, 54.3514, 16.5077)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA54 #5C54CA
analogous
#CA9754 #C2CA54 #87CA54
triadic
#C2CA54 #54C2CA #CA54C2
tetradic
#C2CA54 #54CA97 #5C54CA #CA5487
square
#C2CA54 #54CA97 #5C54CA #CA5487
split-complementary
#C2CA54 #5487CA #9754CA
monochromatic
#777D27 #A4AC35 #C2CA54 #D3D883 #E3E7B1

Accessibility & contrast

On white

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

On black

11.87
#C2CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA54
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA54#FFFFFF#000000##000000
##C2CA541.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ca54;
/* rgb */ color: rgb(194, 202, 84);
/* oklch */ color: oklch(81.0% 0.141 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7da89',
    500: '#c2ca54',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca54;
$custom-light: #d7da89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca54",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 64.068,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80972,
    "c": 0.14136,
    "h": 112.7
  },
  "luminance": 0.5435
}

Semantic roles & 50–950 ramp

primary
#C2CA54
secondary
#423D85
accent
#4CDC55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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