#C2C428#C2C428

#C2C428 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#C2C428
RGBrgb(194, 196, 40)
HSLhsl(61, 66%, 46%)
HSVhsv(61, 80%, 77%)
CMYKcmyk(1%, 0%, 79.6%, 23.1%)
CIE-LABlab(76.74, -17.79, 70.76)
CIE-LCHlch(76.74, 72.96, 104.11°)
OKLaboklab(79.34% -0.057 0.1533)
OKLCHoklch(79.34% 0.164 110.4)
XYZxyz(42.3727, 51.1036, 9.6390)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C428 #2A28C4
analogous
#C47828 #C2C428 #74C428
triadic
#C2C428 #28C2C4 #C428C2
tetradic
#C2C428 #28C478 #2A28C4 #C42874
square
#C2C428 #28C478 #2A28C4 #C42874
split-complementary
#C2C428 #2874C4 #7828C4
monochromatic
#5D5E13 #90911E #C2C428 #D9DB4E #E4E581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C428#FFFFFF#000000##000000
##C2C4281.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)
#D5BF37
Tritanopia (blue-blind)
#D0B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c428;
/* rgb */ color: rgb(194, 196, 40);
/* oklch */ color: oklch(79.3% 0.164 110.4);
Tailwind
colors: {
  custom: {
    50: '#d9d571',
    500: '#c2c428',
    950: '#000000',
  },
}
SCSS
$custom: #c2c428;
$custom-light: #d9d571;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c428",
  "rgb": {
    "r": 194,
    "g": 196,
    "b": 40
  },
  "hsl": {
    "h": 60.769,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.16358,
    "h": 110.4
  },
  "luminance": 0.51102
}

Semantic roles & 50–950 ramp

primary
#C2C428
secondary
#282769
accent
#3FE941
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C428

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

Preview Lab → · Contrast checker → · Palette generator →

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