#C2CB52#C2CB52

#C2CB52 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.144 H 113.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C2CB52
RGBrgb(194, 203, 82)
HSLhsl(64, 54%, 56%)
HSVhsv(64, 60%, 80%)
CMYKcmyk(4.4%, 0%, 59.6%, 20.4%)
CIE-LABlab(78.92, -19.07, 57.72)
CIE-LCHlch(78.92, 60.79, 108.29°)
OKLaboklab(81.17% -0.0567 0.1326)
OKLCHoklch(81.17% 0.144 113.1)
XYZxyz(45.1281, 54.7913, 16.1795)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB52 #5B52CB
analogous
#CB9752 #C2CB52 #85CB52
triadic
#C2CB52 #52C2CB #CB52C2
tetradic
#C2CB52 #52CB97 #5B52CB #CB5285
square
#C2CB52 #52CB97 #5B52CB #CB5285
split-complementary
#C2CB52 #5285CB #9752CB
monochromatic
#777D26 #A3AC34 #C2CB52 #D3D981 #E3E7B0

Accessibility & contrast

On white

1.76
#C2CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C2CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB52
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB52#FFFFFF#000000##000000
##C2CB521.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb52;
/* rgb */ color: rgb(194, 203, 82);
/* oklch */ color: oklch(81.2% 0.144 113.1);
Tailwind
colors: {
  custom: {
    50: '#d7da87',
    500: '#c2cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb52;
$custom-light: #d7da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb52",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 64.463,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8117,
    "c": 0.14418,
    "h": 113.1
  },
  "luminance": 0.5479
}

Semantic roles & 50–950 ramp

primary
#C2CB52
secondary
#423C85
accent
#4BDD56
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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