#C4C72B#C4C72B

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

Color values

HEX#C4C72B
RGBrgb(196, 199, 43)
HSLhsl(61, 64%, 47%)
HSVhsv(61, 78%, 78%)
CMYKcmyk(1.5%, 0%, 78.4%, 22%)
CIE-LABlab(77.73, -18.33, 70.86)
CIE-LCHlch(77.73, 73.19, 104.50°)
OKLaboklab(80.18% -0.0584 0.154)
OKLCHoklch(80.18% 0.165 110.8)
XYZxyz(43.6260, 52.7583, 10.1703)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C72B #2E2BC7
analogous
#C77C2B #C4C72B #76C72B
triadic
#C4C72B #2BC4C7 #C72BC4
tetradic
#C4C72B #2BC77C #2E2BC7 #C72B76
square
#C4C72B #2BC77C #2E2BC7 #C72B76
split-complementary
#C4C72B #2B76C7 #7C2BC7
monochromatic
#616215 #929520 #C4C72B #D8DA55 #E3E587

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C72B#FFFFFF#000000##000000
##C4C72B1.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)
#D8C239
Tritanopia (blue-blind)
#D2BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c4c72b;
/* rgb */ color: rgb(196, 199, 43);
/* oklch */ color: oklch(80.2% 0.165 110.8);
Tailwind
colors: {
  custom: {
    50: '#dad773',
    500: '#c4c72b',
    950: '#000000',
  },
}
SCSS
$custom: #c4c72b;
$custom-light: #dad773;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c72b",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 43
  },
  "hsl": {
    "h": 61.154,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.80176,
    "c": 0.16469,
    "h": 110.8
  },
  "luminance": 0.52757
}

Semantic roles & 50–950 ramp

primary
#C4C72B
secondary
#2B296D
accent
#40E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C72B

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

Preview Lab → · Contrast checker → · Palette generator →

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