#C2CB40#C2CB40

#C2CB40 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.0% C 0.158 H 113.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C2CB40
RGBrgb(194, 203, 64)
HSLhsl(64, 57%, 52%)
HSVhsv(64, 68%, 80%)
CMYKcmyk(4.4%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.78, -20.21, 64.85)
CIE-LCHlch(78.78, 67.93, 107.31°)
OKLaboklab(81.02% -0.0617 0.145)
OKLCHoklch(81.02% 0.158 113)
XYZxyz(44.5308, 54.5523, 13.0333)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB40 #4940CB
analogous
#CB8F40 #C2CB40 #7CCB40
triadic
#C2CB40 #40C2CB #CB40C2
tetradic
#C2CB40 #40CB8F #4940CB #CB407C
square
#C2CB40 #40CB8F #4940CB #CB407C
split-complementary
#C2CB40 #407CCB #8F40CB
monochromatic
#6C721F #9AA22C #C2CB40 #D1D870 #E1E5A0

Accessibility & contrast

On white

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

On black

11.91
#C2CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB40
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB40#FFFFFF#000000##000000
##C2CB401.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#DAC44A
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb40;
/* rgb */ color: rgb(194, 203, 64);
/* oklch */ color: oklch(81.0% 0.158 113.0);
Tailwind
colors: {
  custom: {
    50: '#d8da7d',
    500: '#c2cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb40;
$custom-light: #d8da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb40",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 63.885,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81015,
    "c": 0.15755,
    "h": 113
  },
  "luminance": 0.54551
}

Semantic roles & 50–950 ramp

primary
#C2CB40
secondary
#39357B
accent
#47E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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