#C2C22B#C2C22B

#C2C22B is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.9% C 0.160 H 109.6°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C2C22B
RGBrgb(194, 194, 43)
HSLhsl(60, 64%, 46%)
HSVhsv(60, 78%, 76%)
CMYKcmyk(0%, 0%, 77.8%, 23.9%)
CIE-LABlab(76.21, -16.68, 69.45)
CIE-LCHlch(76.21, 71.42, 103.51°)
OKLaboklab(78.92% -0.0537 0.1511)
OKLCHoklch(78.92% 0.16 109.6)
XYZxyz(41.9776, 50.2286, 9.7689)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C22B #2B2BC2
analogous
#C2772B #C2C22B #77C22B
triadic
#C2C22B #2BC2C2 #C22BC2
tetradic
#C2C22B #2BC277 #2B2BC2 #C22B77
square
#C2C22B #2BC277 #2B2BC2 #C22B77
split-complementary
#C2C22B #2B77C2 #772BC2
monochromatic
#5E5E15 #909020 #C2C22B #D9D952 #E4E484

Accessibility & contrast

On white

1.90
#C2C22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#C2C22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C22B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C22B#FFFFFF#000000##000000
##C2C22B1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA00
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#D0B5A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c22b;
/* rgb */ color: rgb(194, 194, 43);
/* oklch */ color: oklch(78.9% 0.160 109.6);
Tailwind
colors: {
  custom: {
    50: '#d8d472',
    500: '#c2c22b',
    950: '#000000',
  },
}
SCSS
$custom: #c2c22b;
$custom-light: #d8d472;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c22b",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78919,
    "c": 0.16031,
    "h": 109.6
  },
  "luminance": 0.50227
}

Semantic roles & 50–950 ramp

primary
#C2C22B
secondary
#282869
accent
#41E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C22B

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

Preview Lab → · Contrast checker → · Palette generator →

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