#C2C12B#C2C12B

#C2C12B is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.7% C 0.159 H 109.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C2C12B
RGBrgb(194, 193, 43)
HSLhsl(60, 64%, 46%)
HSVhsv(60, 78%, 76%)
CMYKcmyk(0%, 0.5%, 77.8%, 23.9%)
CIE-LABlab(75.94, -16.18, 69.20)
CIE-LCHlch(75.94, 71.07, 103.16°)
OKLaboklab(78.7% -0.0523 0.1505)
OKLCHoklch(78.7% 0.159 109.2)
XYZxyz(41.7558, 49.7850, 9.6950)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C12B #2B2CC2
analogous
#C2762B #C2C12B #78C22B
triadic
#C2C12B #2BC2C1 #C12BC2
tetradic
#C2C12B #2BC276 #2B2CC2 #C22B78
square
#C2C12B #2BC276 #2B2CC2 #C22B78
split-complementary
#C2C12B #2B78C2 #762BC2
monochromatic
#5E5D15 #908F20 #C2C12B #D9D852 #E4E384

Accessibility & contrast

On white

1.92
#C2C12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#C2C12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C12B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C12B#FFFFFF#000000##000000
##C2C12B1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#D0B4A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c12b;
/* rgb */ color: rgb(194, 193, 43);
/* oklch */ color: oklch(78.7% 0.159 109.2);
Tailwind
colors: {
  custom: {
    50: '#d8d372',
    500: '#c2c12b',
    950: '#000000',
  },
}
SCSS
$custom: #c2c12b;
$custom-light: #d8d372;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c12b",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 43
  },
  "hsl": {
    "h": 59.603,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78702,
    "c": 0.15936,
    "h": 109.2
  },
  "luminance": 0.49784
}

Semantic roles & 50–950 ramp

primary
#C2C12B
secondary
#7C7DCD
accent
#42E741
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C2C12B

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

Preview Lab → · Contrast checker → · Palette generator →

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