#C7C52D#C7C52D

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

Color values

HEX#C7C52D
RGBrgb(199, 197, 45)
HSLhsl(59, 63%, 48%)
HSVhsv(59, 77%, 78%)
CMYKcmyk(0%, 1%, 77.4%, 22%)
CIE-LABlab(77.44, -15.98, 70.11)
CIE-LCHlch(77.44, 71.91, 102.84°)
OKLaboklab(80% -0.0518 0.1526)
OKLCHoklch(80% 0.161 108.8)
XYZxyz(43.9948, 52.2655, 10.2529)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C52D #2D2FC7
analogous
#C7782D #C7C52D #7CC72D
triadic
#C7C52D #2DC7C5 #C52DC7
tetradic
#C7C52D #2DC778 #2D2FC7 #C72D7C
square
#C7C52D #2DC778 #2D2FC7 #C72D7C
split-complementary
#C7C52D #2D7CC7 #782DC7
monochromatic
#636216 #959422 #C7C52D #D9D858 #E5E38A

Accessibility & contrast

On white

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

On black

11.45
#C7C52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C52D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C52D#FFFFFF#000000##000000
##C7C52D1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c52d;
/* rgb */ color: rgb(199, 197, 45);
/* oklch */ color: oklch(80.0% 0.161 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcd673',
    500: '#c7c52d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c52d;
$custom-light: #dcd673;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c52d",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 45
  },
  "hsl": {
    "h": 59.221,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80003,
    "c": 0.16119,
    "h": 108.8
  },
  "luminance": 0.52264
}

Semantic roles & 50–950 ramp

primary
#C7C52D
secondary
#2A2B6E
accent
#44E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C52D

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

Preview Lab → · Contrast checker → · Palette generator →

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