#C2CB34#C2CB34

#C2CB34 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.9% C 0.165 H 113.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#C2CB34
RGBrgb(194, 203, 52)
HSLhsl(64, 59%, 50%)
HSVhsv(64, 74%, 80%)
CMYKcmyk(4.4%, 0%, 74.4%, 20.4%)
CIE-LABlab(78.71, -20.79, 68.97)
CIE-LCHlch(78.71, 72.03, 106.78°)
OKLaboklab(80.94% -0.0644 0.1516)
OKLCHoklch(80.94% 0.165 113)
XYZxyz(44.2253, 54.4301, 11.4245)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB34 #3D34CB
analogous
#CB8834 #C2CB34 #77CB34
triadic
#C2CB34 #34C2CB #CB34C2
tetradic
#C2CB34 #34CB88 #3D34CB #CB3477
square
#C2CB34 #34CB88 #3D34CB #CB3477
split-complementary
#C2CB34 #3477CB #8834CB
monochromatic
#656A1B #939A28 #C2CB34 #D1D765 #DFE495

Accessibility & contrast

On white

1.77
#C2CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#C2CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB34
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB34#FFFFFF#000000##000000
##C2CB341.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC110
Deuteranopia (green-blind)
#DAC441
Tritanopia (blue-blind)
#CFBFAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb34;
/* rgb */ color: rgb(194, 203, 52);
/* oklch */ color: oklch(80.9% 0.165 113.0);
Tailwind
colors: {
  custom: {
    50: '#d8da77',
    500: '#c2cb34',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb34;
$custom-light: #d8da77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb34",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 63.576,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.80935,
    "c": 0.16474,
    "h": 113
  },
  "luminance": 0.54429
}

Semantic roles & 50–950 ramp

primary
#C2CB34
secondary
#343073
accent
#45E24F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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