#C2CB57#C2CB57

#C2CB57 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.140 H 113.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C2CB57
RGBrgb(194, 203, 87)
HSLhsl(65, 53%, 57%)
HSVhsv(65, 57%, 80%)
CMYKcmyk(4.4%, 0%, 57.1%, 20.4%)
CIE-LABlab(78.97, -18.70, 55.58)
CIE-LCHlch(78.97, 58.64, 108.60°)
OKLaboklab(81.22% -0.0551 0.1286)
OKLCHoklch(81.22% 0.14 113.2)
XYZxyz(45.3254, 54.8702, 17.2183)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB57 #6057CB
analogous
#CB9A57 #C2CB57 #88CB57
triadic
#C2CB57 #57C2CB #CB57C2
tetradic
#C2CB57 #57CB9A #6057CB #CB5788
square
#C2CB57 #57CB9A #6057CB #CB5788
split-complementary
#C2CB57 #5788CB #9A57CB
monochromatic
#798028 #A5AF36 #C2CB57 #D3D986 #E4E8B4

Accessibility & contrast

On white

1.75
#C2CB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C2CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB57
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB57#FFFFFF#000000##000000
##C2CB571.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#CEC0B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb57;
/* rgb */ color: rgb(194, 203, 87);
/* oklch */ color: oklch(81.2% 0.140 113.2);
Tailwind
colors: {
  custom: {
    50: '#d7da8a',
    500: '#c2cb57',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb57;
$custom-light: #d7da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb57",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 64.655,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81221,
    "c": 0.13993,
    "h": 113.2
  },
  "luminance": 0.54869
}

Semantic roles & 50–950 ramp

primary
#C2CB57
secondary
#443F88
accent
#4CDC57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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