#C4C72C#C4C72C

#C4C72C is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.164 H 110.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#C4C72C
RGBrgb(196, 199, 44)
HSLhsl(61, 64%, 48%)
HSVhsv(61, 78%, 78%)
CMYKcmyk(1.5%, 0%, 77.9%, 22%)
CIE-LABlab(77.74, -18.29, 70.58)
CIE-LCHlch(77.74, 72.91, 104.53°)
OKLaboklab(80.18% -0.0582 0.1536)
OKLCHoklch(80.18% 0.164 110.8)
XYZxyz(43.6446, 52.7657, 10.2681)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C72C #2F2CC7
analogous
#C77C2C #C4C72C #77C72C
triadic
#C4C72C #2CC4C7 #C72CC4
tetradic
#C4C72C #2CC77C #2F2CC7 #C72C77
square
#C4C72C #2CC77C #2F2CC7 #C72C77
split-complementary
#C4C72C #2C77C7 #7C2CC7
monochromatic
#616316 #939521 #C4C72C #D7DA56 #E3E589

Accessibility & contrast

On white

1.82
#C4C72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#C4C72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C72C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C72C#FFFFFF#000000##000000
##C4C72C1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D8C23A
Tritanopia (blue-blind)
#D2BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c4c72c;
/* rgb */ color: rgb(196, 199, 44);
/* oklch */ color: oklch(80.2% 0.164 110.8);
Tailwind
colors: {
  custom: {
    50: '#dad773',
    500: '#c4c72c',
    950: '#000000',
  },
}
SCSS
$custom: #c4c72c;
$custom-light: #dad773;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c72c",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 44
  },
  "hsl": {
    "h": 61.161,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.80181,
    "c": 0.16422,
    "h": 110.8
  },
  "luminance": 0.52764
}

Semantic roles & 50–950 ramp

primary
#C4C72C
secondary
#2B2A6D
accent
#41E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C72C

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

Preview Lab → · Contrast checker → · Palette generator →

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