#C2C229#C2C229

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

Color values

HEX#C2C229
RGBrgb(194, 194, 41)
HSLhsl(60, 65%, 46%)
HSVhsv(60, 79%, 76%)
CMYKcmyk(0%, 0%, 78.9%, 23.9%)
CIE-LABlab(76.20, -16.75, 70.01)
CIE-LCHlch(76.20, 71.99, 103.46°)
OKLaboklab(78.91% -0.054 0.1519)
OKLCHoklch(78.91% 0.161 109.6)
XYZxyz(41.9418, 50.2143, 9.5804)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C229 #2929C2
analogous
#C27529 #C2C229 #75C229
triadic
#C2C229 #29C2C2 #C229C2
tetradic
#C2C229 #29C275 #2929C2 #C22975
square
#C2C229 #29C275 #2929C2 #C22975
split-complementary
#C2C229 #2975C2 #7529C2
monochromatic
#5D5D14 #8F8F1E #C2C229 #DADA4E #E4E481

Accessibility & contrast

On white

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

On black

11.04
#C2C229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C229
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C229#FFFFFF#000000##000000
##C2C2291.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c229;
/* rgb */ color: rgb(194, 194, 41);
/* oklch */ color: oklch(78.9% 0.161 109.6);
Tailwind
colors: {
  custom: {
    50: '#d9d471',
    500: '#c2c229',
    950: '#000000',
  },
}
SCSS
$custom: #c2c229;
$custom-light: #d9d471;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c229",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78909,
    "c": 0.16123,
    "h": 109.6
  },
  "luminance": 0.50213
}

Semantic roles & 50–950 ramp

primary
#C2C229
secondary
#272768
accent
#40E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C229

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

Preview Lab → · Contrast checker → · Palette generator →

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