#C2C541#C2C541

#C2C541 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.7% C 0.151 H 110.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C2C541
RGBrgb(194, 197, 65)
HSLhsl(61, 53%, 51%)
HSVhsv(61, 67%, 77%)
CMYKcmyk(1.5%, 0%, 67%, 22.7%)
CIE-LABlab(77.15, -17.17, 62.83)
CIE-LCHlch(77.15, 65.14, 105.29°)
OKLaboklab(79.71% -0.0531 0.1409)
OKLCHoklch(79.71% 0.151 110.6)
XYZxyz(43.1699, 51.7846, 12.7214)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C541 #4441C5
analogous
#C58641 #C2C541 #80C541
triadic
#C2C541 #41C2C5 #C541C2
tetradic
#C2C541 #41C586 #4441C5 #C54180
square
#C2C541 #41C586 #4441C5 #C54180
split-complementary
#C2C541 #4180C5 #8641C5
monochromatic
#696B21 #979A2F #C2C541 #D1D370 #E0E29F

Accessibility & contrast

On white

1.85
#C2C541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C2C541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C541
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C541#FFFFFF#000000##000000
##C2C5411.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2D
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#CFB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c541;
/* rgb */ color: rgb(194, 197, 65);
/* oklch */ color: oklch(79.7% 0.151 110.6);
Tailwind
colors: {
  custom: {
    50: '#d8d67d',
    500: '#c2c541',
    950: '#000000',
  },
}
SCSS
$custom: #c2c541;
$custom-light: #d8d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c541",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 61.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79712,
    "c": 0.15056,
    "h": 110.6
  },
  "luminance": 0.51783
}

Semantic roles & 50–950 ramp

primary
#C2C541
secondary
#373575
accent
#4BDD4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C541

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

Preview Lab → · Contrast checker → · Palette generator →

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