#C2C351#C2C351

#C2C351 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.136 H 109.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#C2C351
RGBrgb(194, 195, 81)
HSLhsl(61, 49%, 54%)
HSVhsv(61, 58%, 76%)
CMYKcmyk(0.5%, 0%, 58.5%, 23.5%)
CIE-LABlab(76.74, -15.15, 55.76)
CIE-LCHlch(76.74, 57.78, 105.20°)
OKLaboklab(79.42% -0.0457 0.1283)
OKLCHoklch(79.42% 0.136 109.6)
XYZxyz(43.2497, 51.0947, 15.3670)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C351 #5251C3
analogous
#C38B51 #C2C351 #89C351
triadic
#C2C351 #51C2C3 #C351C2
tetradic
#C2C351 #51C38B #5251C3 #C35189
square
#C2C351 #51C38B #5251C3 #C35189
split-complementary
#C2C351 #5189C3 #8B51C3
monochromatic
#727227 #9FA037 #C2C351 #D2D37F #E2E2AC

Accessibility & contrast

On white

1.87
#C2C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#C2C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C351
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C351#FFFFFF#000000##000000
##C2C3511.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB44
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#CFB8AB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c351;
/* rgb */ color: rgb(194, 195, 81);
/* oklch */ color: oklch(79.4% 0.136 109.6);
Tailwind
colors: {
  custom: {
    50: '#d7d586',
    500: '#c2c351',
    950: '#000000',
  },
}
SCSS
$custom: #c2c351;
$custom-light: #d7d586;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c351",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 60.526,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79422,
    "c": 0.13616,
    "h": 109.6
  },
  "luminance": 0.51094
}

Semantic roles & 50–950 ramp

primary
#C2C351
secondary
#3D3D7C
accent
#50D851
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C351

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

Preview Lab → · Contrast checker → · Palette generator →

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