#C2C04B#C2C04B

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

Color values

HEX#C2C04B
RGBrgb(194, 192, 75)
HSLhsl(59, 49%, 53%)
HSVhsv(59, 61%, 76%)
CMYKcmyk(0%, 1%, 61.3%, 23.9%)
CIE-LABlab(75.87, -14.05, 57.42)
CIE-LCHlch(75.87, 59.12, 103.74°)
OKLaboklab(78.72% -0.0432 0.131)
OKLCHoklch(78.72% 0.138 108.3)
XYZxyz(42.3691, 49.6778, 14.0122)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C04B #4B4DC2
analogous
#C2854B #C2C04B #88C24B
triadic
#C2C04B #4BC2C0 #C04BC2
tetradic
#C2C04B #4BC285 #4B4DC2 #C24B88
square
#C2C04B #4BC285 #4B4DC2 #C24B88
split-complementary
#C2C04B #4B88C2 #854BC2
monochromatic
#6D6C25 #9B9935 #C2C04B #D1D079 #E1E0A6

Accessibility & contrast

On white

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

On black

10.94
#C2C04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C04B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C04B#FFFFFF#000000##000000
##C2C04B1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c04b;
/* rgb */ color: rgb(194, 192, 75);
/* oklch */ color: oklch(78.7% 0.138 108.3);
Tailwind
colors: {
  custom: {
    50: '#d7d282',
    500: '#c2c04b',
    950: '#000000',
  },
}
SCSS
$custom: #c2c04b;
$custom-light: #d7d282;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c04b",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 58.992,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78715,
    "c": 0.13794,
    "h": 108.3
  },
  "luminance": 0.49677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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