#C2C03F#C2C03F

#C2C03F is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.6% C 0.147 H 108.5°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C2C03F
RGBrgb(194, 192, 63)
HSLhsl(59, 52%, 50%)
HSVhsv(59, 68%, 76%)
CMYKcmyk(0%, 1%, 67.5%, 23.9%)
CIE-LABlab(75.78, -14.77, 62.22)
CIE-LCHlch(75.78, 63.95, 103.36°)
OKLaboklab(78.61% -0.0465 0.1393)
OKLCHoklch(78.61% 0.147 108.5)
XYZxyz(41.9964, 49.5288, 12.0495)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C03F #3F41C2
analogous
#C27E3F #C2C03F #82C23F
triadic
#C2C03F #3FC2C0 #C03FC2
tetradic
#C2C03F #3FC27E #3F41C2 #C23F82
square
#C2C03F #3FC27E #3F41C2 #C23F82
split-complementary
#C2C03F #3F82C2 #7E3FC2
monochromatic
#666520 #95932F #C2C03F #D1CF6D #E0DE9C

Accessibility & contrast

On white

1.93
#C2C03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C2C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C03F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C03F#FFFFFF#000000##000000
##C2C03F1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#D0B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c03f;
/* rgb */ color: rgb(194, 192, 63);
/* oklch */ color: oklch(78.6% 0.147 108.5);
Tailwind
colors: {
  custom: {
    50: '#d8d27c',
    500: '#c2c03f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c03f;
$custom-light: #d8d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c03f",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 59.084,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78612,
    "c": 0.14684,
    "h": 108.5
  },
  "luminance": 0.49527
}

Semantic roles & 50–950 ramp

primary
#C2C03F
secondary
#9192CC
accent
#4FDB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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