#C2CA5B#C2CA5B

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

Color values

HEX#C2CA5B
RGBrgb(194, 202, 91)
HSLhsl(64, 51%, 57%)
HSVhsv(64, 55%, 79%)
CMYKcmyk(4%, 0%, 55%, 20.8%)
CIE-LABlab(78.73, -17.89, 53.52)
CIE-LCHlch(78.73, 56.43, 108.48°)
OKLaboklab(81.05% -0.0524 0.1247)
OKLCHoklch(81.05% 0.135 112.8)
XYZxyz(45.2580, 54.4666, 18.0245)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA5B #635BCA
analogous
#CA9A5B #C2CA5B #8BCA5B
triadic
#C2CA5B #5BC2CA #CA5BC2
tetradic
#C2CA5B #5BCA9A #635BCA #CA5B8B
square
#C2CA5B #5BCA9A #635BCA #CA5B8B
split-complementary
#C2CA5B #5B8BCA #9A5BCA
monochromatic
#7B812A #A7AF39 #C2CA5B #D3D989 #E4E8B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CA5B#FFFFFF#000000##000000
##C2CA5B1.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)
#D7C250
Deuteranopia (green-blind)
#D7C461
Tritanopia (blue-blind)
#CDBFB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2ca5b;
/* rgb */ color: rgb(194, 202, 91);
/* oklch */ color: oklch(81.0% 0.135 112.8);
Tailwind
colors: {
  custom: {
    50: '#d7da8d',
    500: '#c2ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca5b;
$custom-light: #d7da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca5b",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 64.324,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81047,
    "c": 0.13523,
    "h": 112.8
  },
  "luminance": 0.54466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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