#C2C059#C2C059

#C2C059 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.9% C 0.126 H 107.9°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C2C059
RGBrgb(194, 192, 89)
HSLhsl(59, 46%, 55%)
HSVhsv(59, 54%, 76%)
CMYKcmyk(0%, 1%, 54.1%, 23.9%)
CIE-LABlab(76.00, -13.02, 51.31)
CIE-LCHlch(76.00, 52.94, 104.23°)
OKLaboklab(78.86% -0.0388 0.1197)
OKLCHoklch(78.86% 0.126 107.9)
XYZxyz(42.9021, 49.8910, 16.8192)
Luminance0.4989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C059 #595BC2
analogous
#C28B59 #C2C059 #8FC259
triadic
#C2C059 #59C2C0 #C059C2
tetradic
#C2C059 #59C28B #595BC2 #C2598F
square
#C2C059 #59C28B #595BC2 #C2598F
split-complementary
#C2C059 #598FC2 #8B59C2
monochromatic
#75742B #A2A03C #C2C059 #D2D186 #E3E2B3

Accessibility & contrast

On white

1.91
#C2C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#C2C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C059
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C059#FFFFFF#000000##000000
##C2C0591.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94F
Deuteranopia (green-blind)
#D0BD5E
Tritanopia (blue-blind)
#CEB5A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c059;
/* rgb */ color: rgb(194, 192, 89);
/* oklch */ color: oklch(78.9% 0.126 107.9);
Tailwind
colors: {
  custom: {
    50: '#d7d28b',
    500: '#c2c059',
    950: '#000000',
  },
}
SCSS
$custom: #c2c059;
$custom-light: #d7d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c059",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 58.857,
    "s": 46.256,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78861,
    "c": 0.12582,
    "h": 107.9
  },
  "luminance": 0.4989
}

Semantic roles & 50–950 ramp

primary
#C2C059
secondary
#A6A6D1
accent
#54D652
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C2C059

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

Preview Lab → · Contrast checker → · Palette generator →

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