#C4C62A#C4C62A

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

Color values

HEX#C4C62A
RGBrgb(196, 198, 42)
HSLhsl(61, 65%, 47%)
HSVhsv(61, 79%, 78%)
CMYKcmyk(1%, 0%, 78.8%, 22.4%)
CIE-LABlab(77.46, -17.86, 70.90)
CIE-LCHlch(77.46, 73.12, 104.14°)
OKLaboklab(79.95% -0.0572 0.1539)
OKLCHoklch(79.95% 0.164 110.4)
XYZxyz(43.3786, 52.2924, 9.9984)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C62A #2C2AC6
analogous
#C67A2A #C4C62A #76C62A
triadic
#C4C62A #2AC4C6 #C62AC4
tetradic
#C4C62A #2AC67A #2C2AC6 #C62A76
square
#C4C62A #2AC67A #2C2AC6 #C62A76
split-complementary
#C4C62A #2A76C6 #7A2AC6
monochromatic
#606115 #92941F #C4C62A #D9DA53 #E4E585

Accessibility & contrast

On white

1.83
#C4C62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#C4C62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C62A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C62A#FFFFFF#000000##000000
##C4C62A1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D8C138
Tritanopia (blue-blind)
#D2B9AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c62a;
/* rgb */ color: rgb(196, 198, 42);
/* oklch */ color: oklch(80.0% 0.164 110.4);
Tailwind
colors: {
  custom: {
    50: '#dad772',
    500: '#c4c62a',
    950: '#000000',
  },
}
SCSS
$custom: #c4c62a;
$custom-light: #dad772;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c62a",
  "rgb": {
    "r": 196,
    "g": 198,
    "b": 42
  },
  "hsl": {
    "h": 60.769,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.79953,
    "c": 0.16417,
    "h": 110.4
  },
  "luminance": 0.52291
}

Semantic roles & 50–950 ramp

primary
#C4C62A
secondary
#29286C
accent
#40E842
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C62A

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

Preview Lab → · Contrast checker → · Palette generator →

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