#C2CB56#C2CB56

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

Color values

HEX#C2CB56
RGBrgb(194, 203, 86)
HSLhsl(65, 53%, 57%)
HSVhsv(65, 58%, 80%)
CMYKcmyk(4.4%, 0%, 57.6%, 20.4%)
CIE-LABlab(78.96, -18.78, 56.02)
CIE-LCHlch(78.96, 59.08, 108.53°)
OKLaboklab(81.21% -0.0554 0.1294)
OKLCHoklch(81.21% 0.141 113.2)
XYZxyz(45.2848, 54.8539, 17.0046)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB56 #5F56CB
analogous
#CB9A56 #C2CB56 #88CB56
triadic
#C2CB56 #56C2CB #CB56C2
tetradic
#C2CB56 #56CB9A #5F56CB #CB5688
square
#C2CB56 #56CB9A #5F56CB #CB5688
split-complementary
#C2CB56 #5688CB #9A56CB
monochromatic
#797F27 #A5AE36 #C2CB56 #D3D985 #E4E8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CB56#FFFFFF#000000##000000
##C2CB561.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)
#D9C249
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#CEC0B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb56;
/* rgb */ color: rgb(194, 203, 86);
/* oklch */ color: oklch(81.2% 0.141 113.2);
Tailwind
colors: {
  custom: {
    50: '#d7da8a',
    500: '#c2cb56',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb56;
$custom-light: #d7da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb56",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 64.615,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8121,
    "c": 0.1408,
    "h": 113.2
  },
  "luminance": 0.54853
}

Semantic roles & 50–950 ramp

primary
#C2CB56
secondary
#443E87
accent
#4BDC57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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