#C2C232#C2C232

#C2C232 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.157 H 109.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C2C232
RGBrgb(194, 194, 50)
HSLhsl(60, 59%, 48%)
HSVhsv(60, 74%, 76%)
CMYKcmyk(0%, 0%, 74.2%, 23.9%)
CIE-LABlab(76.24, -16.41, 67.31)
CIE-LCHlch(76.24, 69.28, 103.70°)
OKLaboklab(78.96% -0.0524 0.1478)
OKLCHoklch(78.96% 0.157 109.5)
XYZxyz(42.1172, 50.2845, 10.5043)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C232 #3232C2
analogous
#C27A32 #C2C232 #7AC232
triadic
#C2C232 #32C2C2 #C232C2
tetradic
#C2C232 #32C27A #3232C2 #C2327A
square
#C2C232 #32C27A #3232C2 #C2327A
split-complementary
#C2C232 #327AC2 #7A32C2
monochromatic
#616119 #919125 #C2C232 #D5D55C #E2E28D

Accessibility & contrast

On white

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

On black

11.06
#C2C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C232
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C232#FFFFFF#000000##000000
##C2C2321.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA11
Deuteranopia (green-blind)
#D4BE3E
Tritanopia (blue-blind)
#D0B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c232;
/* rgb */ color: rgb(194, 194, 50);
/* oklch */ color: oklch(79.0% 0.157 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d475',
    500: '#c2c232',
    950: '#000000',
  },
}
SCSS
$custom: #c2c232;
$custom-light: #d8d475;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c232",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78957,
    "c": 0.15677,
    "h": 109.5
  },
  "luminance": 0.50283
}

Semantic roles & 50–950 ramp

primary
#C2C232
secondary
#2D2D6C
accent
#46E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C232

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

Preview Lab → · Contrast checker → · Palette generator →

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