#C2C04A#C2C04A

#C2C04A is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.139 H 108.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C2C04A
RGBrgb(194, 192, 74)
HSLhsl(59, 50%, 53%)
HSVhsv(59, 62%, 76%)
CMYKcmyk(0%, 1%, 61.9%, 23.9%)
CIE-LABlab(75.86, -14.11, 57.84)
CIE-LCHlch(75.86, 59.54, 103.71°)
OKLaboklab(78.71% -0.0435 0.1317)
OKLCHoklch(78.71% 0.139 108.3)
XYZxyz(42.3352, 49.6643, 13.8333)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C04A #4A4CC2
analogous
#C2844A #C2C04A #88C24A
triadic
#C2C04A #4AC2C0 #C04AC2
tetradic
#C2C04A #4AC284 #4A4CC2 #C24A88
square
#C2C04A #4AC284 #4A4CC2 #C24A88
split-complementary
#C2C04A #4A88C2 #844AC2
monochromatic
#6D6C25 #9B9934 #C2C04A #D1D078 #E1E0A6

Accessibility & contrast

On white

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

On black

10.93
#C2C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C04A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C04A#FFFFFF#000000##000000
##C2C04A1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93C
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#CFB4A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c04a;
/* rgb */ color: rgb(194, 192, 74);
/* oklch */ color: oklch(78.7% 0.139 108.3);
Tailwind
colors: {
  custom: {
    50: '#d7d282',
    500: '#c2c04a',
    950: '#000000',
  },
}
SCSS
$custom: #c2c04a;
$custom-light: #d7d282;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c04a",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 59,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78705,
    "c": 0.13873,
    "h": 108.3
  },
  "luminance": 0.49663
}

Semantic roles & 50–950 ramp

primary
#C2C04A
secondary
#9A9BCE
accent
#51D94F
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C2C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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