#C2C427#C2C427

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

Color values

HEX#C2C427
RGBrgb(194, 196, 39)
HSLhsl(61, 67%, 46%)
HSVhsv(61, 80%, 77%)
CMYKcmyk(1%, 0%, 80.1%, 23.1%)
CIE-LABlab(76.74, -17.82, 71.03)
CIE-LCHlch(76.74, 73.23, 104.08°)
OKLaboklab(79.34% -0.0572 0.1537)
OKLCHoklch(79.34% 0.164 110.4)
XYZxyz(42.3559, 51.0969, 9.5506)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C427 #2927C4
analogous
#C47727 #C2C427 #73C427
triadic
#C2C427 #27C2C4 #C427C2
tetradic
#C2C427 #27C477 #2927C4 #C42773
square
#C2C427 #27C477 #2927C4 #C42773
split-complementary
#C2C427 #2773C4 #7727C4
monochromatic
#5D5E13 #8F911D #C2C427 #DADC4D #E4E680

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C427#FFFFFF#000000##000000
##C2C4271.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)
#D4BB00
Deuteranopia (green-blind)
#D5BF36
Tritanopia (blue-blind)
#D0B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c427;
/* rgb */ color: rgb(194, 196, 39);
/* oklch */ color: oklch(79.3% 0.164 110.4);
Tailwind
colors: {
  custom: {
    50: '#d9d571',
    500: '#c2c427',
    950: '#000000',
  },
}
SCSS
$custom: #c2c427;
$custom-light: #d9d571;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c427",
  "rgb": {
    "r": 194,
    "g": 196,
    "b": 39
  },
  "hsl": {
    "h": 60.764,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79336,
    "c": 0.16401,
    "h": 110.4
  },
  "luminance": 0.51096
}

Semantic roles & 50–950 ramp

primary
#C2C427
secondary
#272669
accent
#3EEA40
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C427

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

Preview Lab → · Contrast checker → · Palette generator →

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