#C2C531#C2C531

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

Color values

HEX#C2C531
RGBrgb(194, 197, 49)
HSLhsl(61, 60%, 48%)
HSVhsv(61, 75%, 77%)
CMYKcmyk(1.5%, 0%, 75.1%, 22.7%)
CIE-LABlab(77.06, -17.95, 68.39)
CIE-LCHlch(77.06, 70.70, 104.71°)
OKLaboklab(79.61% -0.0567 0.1499)
OKLCHoklch(79.61% 0.16 110.7)
XYZxyz(42.7703, 51.6248, 10.6167)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C531 #3431C5
analogous
#C57E31 #C2C531 #78C531
triadic
#C2C531 #31C2C5 #C531C2
tetradic
#C2C531 #31C57E #3431C5 #C53178
square
#C2C531 #31C57E #3431C5 #C53178
split-complementary
#C2C531 #3178C5 #7E31C5
monochromatic
#616319 #929425 #C2C531 #D4D75D #E1E38E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C531#FFFFFF#000000##000000
##C2C5311.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)
#D5BC0B
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c531;
/* rgb */ color: rgb(194, 197, 49);
/* oklch */ color: oklch(79.6% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#d8d675',
    500: '#c2c531',
    950: '#000000',
  },
}
SCSS
$custom: #c2c531;
$custom-light: #d8d675;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c531",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 61.216,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79605,
    "c": 0.16025,
    "h": 110.7
  },
  "luminance": 0.51624
}

Semantic roles & 50–950 ramp

primary
#C2C531
secondary
#2E2D6E
accent
#44E348
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C531

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

Preview Lab → · Contrast checker → · Palette generator →

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