#C4C427#C4C427

#C4C427 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.164 H 109.6°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C4C427
RGBrgb(196, 196, 39)
HSLhsl(60, 67%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0%, 0%, 80.1%, 23.1%)
CIE-LABlab(76.90, -16.97, 71.23)
CIE-LCHlch(76.90, 73.23, 103.40°)
OKLaboklab(79.5% -0.0549 0.1541)
OKLCHoklch(79.5% 0.164 109.6)
XYZxyz(42.8728, 51.3634, 9.5748)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C427 #2727C4
analogous
#C47527 #C4C427 #75C427
triadic
#C4C427 #27C4C4 #C427C4
tetradic
#C4C427 #27C475 #2727C4 #C42775
square
#C4C427 #27C475 #2727C4 #C42775
split-complementary
#C4C427 #2775C4 #7527C4
monochromatic
#5E5E13 #91911D #C4C427 #DCDC4D #E6E680

Accessibility & contrast

On white

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

On black

11.27
#C4C427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C427
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C427#FFFFFF#000000##000000
##C4C4271.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C036
Tritanopia (blue-blind)
#D2B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c4c427;
/* rgb */ color: rgb(196, 196, 39);
/* oklch */ color: oklch(79.5% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#dad571',
    500: '#c4c427',
    950: '#000000',
  },
}
SCSS
$custom: #c4c427;
$custom-light: #dad571;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c427",
  "rgb": {
    "r": 196,
    "g": 196,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79504,
    "c": 0.16357,
    "h": 109.6
  },
  "luminance": 0.51362
}

Semantic roles & 50–950 ramp

primary
#C4C427
secondary
#262669
accent
#3EEA3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C427

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

Preview Lab → · Contrast checker → · Palette generator →

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