#C2C951#C2C951

#C2C951 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.143 H 112.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C2C951
RGBrgb(194, 201, 81)
HSLhsl(64, 53%, 55%)
HSVhsv(64, 60%, 79%)
CMYKcmyk(3.5%, 0%, 59.7%, 21.2%)
CIE-LABlab(78.37, -18.15, 57.55)
CIE-LCHlch(78.37, 60.34, 107.51°)
OKLaboklab(80.72% -0.0542 0.1321)
OKLCHoklch(80.72% 0.143 112.3)
XYZxyz(44.6211, 53.8376, 15.8241)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C951 #5851C9
analogous
#C99451 #C2C951 #86C951
triadic
#C2C951 #51C2C9 #C951C2
tetradic
#C2C951 #51C994 #5851C9 #C95186
square
#C2C951 #51C994 #5851C9 #C95186
split-complementary
#C2C951 #5186C9 #9451C9
monochromatic
#757A26 #A2A934 #C2C951 #D2D780 #E3E6AE

Accessibility & contrast

On white

1.78
#C2C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C2C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C951
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C951#FFFFFF#000000##000000
##C2C9511.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#CEBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2c951;
/* rgb */ color: rgb(194, 201, 81);
/* oklch */ color: oklch(80.7% 0.143 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d987',
    500: '#c2c951',
    950: '#000000',
  },
}
SCSS
$custom: #c2c951;
$custom-light: #d7d987;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c951",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 63.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80724,
    "c": 0.14275,
    "h": 112.3
  },
  "luminance": 0.53837
}

Semantic roles & 50–950 ramp

primary
#C2C951
secondary
#403C82
accent
#4CDC54
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C951

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

Preview Lab → · Contrast checker → · Palette generator →

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