#C7C72D#C7C72D

#C7C72D is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.4% C 0.163 H 109.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C7C72D
RGBrgb(199, 199, 45)
HSLhsl(60, 63%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0%, 0%, 77.4%, 22%)
CIE-LABlab(77.98, -16.98, 70.60)
CIE-LCHlch(77.98, 72.61, 103.52°)
OKLaboklab(80.44% -0.0546 0.1537)
OKLCHoklch(80.44% 0.163 109.6)
XYZxyz(44.4520, 53.1798, 10.4053)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C72D #2D2DC7
analogous
#C77A2D #C7C72D #7AC72D
triadic
#C7C72D #2DC7C7 #C72DC7
tetradic
#C7C72D #2DC77A #2D2DC7 #C72D7A
square
#C7C72D #2DC77A #2D2DC7 #C72D7A
split-complementary
#C7C72D #2D7AC7 #7A2DC7
monochromatic
#636316 #959522 #C7C72D #D9D958 #E5E58A

Accessibility & contrast

On white

1.80
#C7C72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#C7C72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C72D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C72D#FFFFFF#000000##000000
##C7C72D1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D9C33B
Tritanopia (blue-blind)
#D5BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c72d;
/* rgb */ color: rgb(199, 199, 45);
/* oklch */ color: oklch(80.4% 0.163 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcd774',
    500: '#c7c72d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c72d;
$custom-light: #dcd774;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c72d",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80436,
    "c": 0.16309,
    "h": 109.6
  },
  "luminance": 0.53178
}

Semantic roles & 50–950 ramp

primary
#C7C72D
secondary
#2A2A6E
accent
#42E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C72D

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

Preview Lab → · Contrast checker → · Palette generator →

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