#C2C045#C2C045

#C2C045 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.143 H 108.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#C2C045
RGBrgb(194, 192, 69)
HSLhsl(59, 51%, 52%)
HSVhsv(59, 64%, 76%)
CMYKcmyk(0%, 1%, 64.4%, 23.9%)
CIE-LABlab(75.82, -14.43, 59.88)
CIE-LCHlch(75.82, 61.59, 103.55°)
OKLaboklab(78.66% -0.0449 0.1353)
OKLCHoklch(78.66% 0.143 108.4)
XYZxyz(42.1734, 49.5995, 12.9812)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C045 #4547C2
analogous
#C28245 #C2C045 #86C245
triadic
#C2C045 #45C2C0 #C045C2
tetradic
#C2C045 #45C282 #4547C2 #C24586
square
#C2C045 #45C282 #4547C2 #C24586
split-complementary
#C2C045 #4586C2 #8245C2
monochromatic
#6A6923 #989632 #C2C045 #D1D073 #E0DFA1

Accessibility & contrast

On white

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

On black

10.92
#C2C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C045
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C045#FFFFFF#000000##000000
##C2C0451.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c045;
/* rgb */ color: rgb(194, 192, 69);
/* oklch */ color: oklch(78.7% 0.143 108.4);
Tailwind
colors: {
  custom: {
    50: '#d7d27f',
    500: '#c2c045',
    950: '#000000',
  },
}
SCSS
$custom: #c2c045;
$custom-light: #d7d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c045",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 59.04,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78661,
    "c": 0.14256,
    "h": 108.4
  },
  "luminance": 0.49598
}

Semantic roles & 50–950 ramp

primary
#C2C045
secondary
#9697CD
accent
#50DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2C045

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

Preview Lab → · Contrast checker → · Palette generator →

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