#C2CB51#C2CB51

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

Color values

HEX#C2CB51
RGBrgb(194, 203, 81)
HSLhsl(64, 54%, 56%)
HSVhsv(64, 60%, 80%)
CMYKcmyk(4.4%, 0%, 60.1%, 20.4%)
CIE-LABlab(78.91, -19.15, 58.14)
CIE-LCHlch(78.91, 61.22, 108.23°)
OKLaboklab(81.16% -0.057 0.1333)
OKLCHoklch(81.16% 0.145 113.1)
XYZxyz(45.0904, 54.7762, 15.9806)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB51 #5A51CB
analogous
#CB9751 #C2CB51 #85CB51
triadic
#C2CB51 #51C2CB #CB51C2
tetradic
#C2CB51 #51CB97 #5A51CB #CB5185
square
#C2CB51 #51CB97 #5A51CB #CB5185
split-complementary
#C2CB51 #5185CB #9751CB
monochromatic
#767C25 #A3AC33 #C2CB51 #D3D980 #E3E7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CB51#FFFFFF#000000##000000
##C2CB511.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)
#D9C243
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb51;
/* rgb */ color: rgb(194, 203, 81);
/* oklch */ color: oklch(81.2% 0.145 113.1);
Tailwind
colors: {
  custom: {
    50: '#d7da87',
    500: '#c2cb51',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb51;
$custom-light: #d7da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb51",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 64.426,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8116,
    "c": 0.145,
    "h": 113.1
  },
  "luminance": 0.54775
}

Semantic roles & 50–950 ramp

primary
#C2CB51
secondary
#413C84
accent
#4ADD55
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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