#C2C451#C2C451

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

Color values

HEX#C2C451
RGBrgb(194, 196, 81)
HSLhsl(61, 49%, 54%)
HSVhsv(61, 59%, 77%)
CMYKcmyk(1%, 0%, 58.7%, 23.1%)
CIE-LABlab(77.01, -15.65, 56.06)
CIE-LCHlch(77.01, 58.20, 105.60°)
OKLaboklab(79.64% -0.0471 0.1289)
OKLCHoklch(79.64% 0.137 110.1)
XYZxyz(43.4745, 51.5444, 15.4419)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C451 #5351C4
analogous
#C48C51 #C2C451 #89C451
triadic
#C2C451 #51C2C4 #C451C2
tetradic
#C2C451 #51C48C #5351C4 #C45189
square
#C2C451 #51C48C #5351C4 #C45189
split-complementary
#C2C451 #5189C4 #8C51C4
monochromatic
#727327 #9FA137 #C2C451 #D2D37F #E2E3AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C451#FFFFFF#000000##000000
##C2C4511.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)
#D2BC44
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#CEB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c451;
/* rgb */ color: rgb(194, 196, 81);
/* oklch */ color: oklch(79.6% 0.137 110.1);
Tailwind
colors: {
  custom: {
    50: '#d7d586',
    500: '#c2c451',
    950: '#000000',
  },
}
SCSS
$custom: #c2c451;
$custom-light: #d7d586;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c451",
  "rgb": {
    "r": 194,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 61.043,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79638,
    "c": 0.13724,
    "h": 110.1
  },
  "luminance": 0.51543
}

Semantic roles & 50–950 ramp

primary
#C2C451
secondary
#3E3D7D
accent
#4FD951
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C451

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

Preview Lab → · Contrast checker → · Palette generator →

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