#C2C527#C2C527

#C2C527 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.6% C 0.165 H 110.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C2C527
RGBrgb(194, 197, 39)
HSLhsl(61, 67%, 46%)
HSVhsv(61, 80%, 77%)
CMYKcmyk(1.5%, 0%, 80.2%, 22.7%)
CIE-LABlab(77.01, -18.32, 71.27)
CIE-LCHlch(77.01, 73.58, 104.42°)
OKLaboklab(79.55% -0.0585 0.1542)
OKLCHoklch(79.55% 0.165 110.8)
XYZxyz(42.5822, 51.5495, 9.6260)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C527 #2A27C5
analogous
#C57927 #C2C527 #73C527
triadic
#C2C527 #27C2C5 #C527C2
tetradic
#C2C527 #27C579 #2A27C5 #C52773
square
#C2C527 #27C579 #2A27C5 #C52773
split-complementary
#C2C527 #2773C5 #7927C5
monochromatic
#5D5F13 #90921D #C2C527 #D9DC4D #E4E680

Accessibility & contrast

On white

1.86
#C2C527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#C2C527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C527
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C527#FFFFFF#000000##000000
##C2C5271.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6C036
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c527;
/* rgb */ color: rgb(194, 197, 39);
/* oklch */ color: oklch(79.6% 0.165 110.8);
Tailwind
colors: {
  custom: {
    50: '#d9d671',
    500: '#c2c527',
    950: '#000000',
  },
}
SCSS
$custom: #c2c527;
$custom-light: #d9d671;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c527",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 39
  },
  "hsl": {
    "h": 61.139,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79554,
    "c": 0.16498,
    "h": 110.8
  },
  "luminance": 0.51548
}

Semantic roles & 50–950 ramp

primary
#C2C527
secondary
#28266A
accent
#3EEA41
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C527

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

Preview Lab → · Contrast checker → · Palette generator →

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