#C5C72D#C5C72D

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

Color values

HEX#C5C72D
RGBrgb(197, 199, 45)
HSLhsl(61, 63%, 48%)
HSVhsv(61, 77%, 78%)
CMYKcmyk(1%, 0%, 77.4%, 22%)
CIE-LABlab(77.82, -17.83, 70.39)
CIE-LCHlch(77.82, 72.62, 104.21°)
OKLaboklab(80.27% -0.0569 0.1533)
OKLCHoklch(80.27% 0.164 110.4)
XYZxyz(43.9247, 52.9079, 10.3806)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C72D #2F2DC7
analogous
#C77C2D #C5C72D #78C72D
triadic
#C5C72D #2DC5C7 #C72DC5
tetradic
#C5C72D #2DC77C #2F2DC7 #C72D78
square
#C5C72D #2DC77C #2F2DC7 #C72D78
split-complementary
#C5C72D #2D78C7 #7C2DC7
monochromatic
#626316 #949522 #C5C72D #D8D958 #E3E58A

Accessibility & contrast

On white

1.81
#C5C72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#C5C72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C72D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C72D#FFFFFF#000000##000000
##C5C72D1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c72d;
/* rgb */ color: rgb(197, 199, 45);
/* oklch */ color: oklch(80.3% 0.164 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbd773',
    500: '#c5c72d',
    950: '#000000',
  },
}
SCSS
$custom: #c5c72d;
$custom-light: #dbd773;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c72d",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 45
  },
  "hsl": {
    "h": 60.779,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80269,
    "c": 0.16352,
    "h": 110.4
  },
  "luminance": 0.52907
}

Semantic roles & 50–950 ramp

primary
#C5C72D
secondary
#2B2A6E
accent
#42E644
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C72D

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

Preview Lab → · Contrast checker → · Palette generator →

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