#C2C945#C2C945

#C2C945 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.6% C 0.152 H 112.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C2C945
RGBrgb(194, 201, 69)
HSLhsl(63, 55%, 53%)
HSVhsv(63, 66%, 79%)
CMYKcmyk(3.5%, 0%, 65.7%, 21.2%)
CIE-LABlab(78.27, -18.94, 62.41)
CIE-LCHlch(78.27, 65.22, 106.88°)
OKLaboklab(80.62% -0.0576 0.1406)
OKLCHoklch(80.62% 0.152 112.3)
XYZxyz(44.2102, 53.6733, 13.6601)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C945 #4C45C9
analogous
#C98E45 #C2C945 #80C945
triadic
#C2C945 #45C2C9 #C945C2
tetradic
#C2C945 #45C98E #4C45C9 #C94580
square
#C2C945 #45C98E #4C45C9 #C94580
split-complementary
#C2C945 #4580C9 #8E45C9
monochromatic
#6E7221 #9CA22F #C2C945 #D2D774 #E1E5A4

Accessibility & contrast

On white

1.79
#C2C945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#C2C945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C945
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C945#FFFFFF#000000##000000
##C2C9451.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#CFBDAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2c945;
/* rgb */ color: rgb(194, 201, 69);
/* oklch */ color: oklch(80.6% 0.152 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d980',
    500: '#c2c945',
    950: '#000000',
  },
}
SCSS
$custom: #c2c945;
$custom-light: #d8d980;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c945",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 63.182,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.15199,
    "h": 112.3
  },
  "luminance": 0.53672
}

Semantic roles & 50–950 ramp

primary
#C2C945
secondary
#3A377B
accent
#49DE51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C945

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

Preview Lab → · Contrast checker → · Palette generator →

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