#C2C52F#C2C52F

#C2C52F is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.6% C 0.161 H 110.7°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#C2C52F
RGBrgb(194, 197, 47)
HSLhsl(61, 61%, 48%)
HSVhsv(61, 76%, 77%)
CMYKcmyk(1.5%, 0%, 76.1%, 22.7%)
CIE-LABlab(77.05, -18.03, 69.00)
CIE-LCHlch(77.05, 71.32, 104.64°)
OKLaboklab(79.59% -0.0571 0.1508)
OKLCHoklch(79.59% 0.161 110.7)
XYZxyz(42.7290, 51.6083, 10.3993)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C52F #322FC5
analogous
#C57D2F #C2C52F #77C52F
triadic
#C2C52F #2FC2C5 #C52FC2
tetradic
#C2C52F #2FC57D #322FC5 #C52F77
square
#C2C52F #2FC57D #322FC5 #C52F77
split-complementary
#C2C52F #2F77C5 #7D2FC5
monochromatic
#616217 #919423 #C2C52F #D5D85A #E2E38B

Accessibility & contrast

On white

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

On black

11.32
#C2C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C52F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C52F#FFFFFF#000000##000000
##C2C52F1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c52f;
/* rgb */ color: rgb(194, 197, 47);
/* oklch */ color: oklch(79.6% 0.161 110.7);
Tailwind
colors: {
  custom: {
    50: '#d8d674',
    500: '#c2c52f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c52f;
$custom-light: #d8d674;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c52f",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 61.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79594,
    "c": 0.16128,
    "h": 110.7
  },
  "luminance": 0.51607
}

Semantic roles & 50–950 ramp

primary
#C2C52F
secondary
#2D2B6D
accent
#43E546
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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