#C7CF52#C7CF52

#C7CF52 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.4% C 0.147 H 112.6°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C7CF52
RGBrgb(199, 207, 82)
HSLhsl(64, 57%, 57%)
HSVhsv(64, 60%, 81%)
CMYKcmyk(3.9%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.39, -19.00, 59.44)
CIE-LCHlch(80.39, 62.40, 107.73°)
OKLaboklab(82.44% -0.0568 0.1361)
OKLCHoklch(82.44% 0.147 112.6)
XYZxyz(47.3902, 57.3779, 16.5596)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF52 #5A52CF
analogous
#CF9952 #C7CF52 #89CF52
triadic
#C7CF52 #52C7CF #CF52C7
tetradic
#C7CF52 #52CF99 #5A52CF #CF5289
square
#C7CF52 #52CF99 #5A52CF #CF5289
split-complementary
#C7CF52 #5289CF #9952CF
monochromatic
#7C8224 #AAB231 #C7CF52 #D7DC82 #E6EAB2

Accessibility & contrast

On white

1.68
#C7CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C7CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF52
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF52#FFFFFF#000000##000000
##C7CF521.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#D3C3B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf52;
/* rgb */ color: rgb(199, 207, 82);
/* oklch */ color: oklch(82.4% 0.147 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd88',
    500: '#c7cf52',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf52;
$custom-light: #dbdd88;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf52",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 63.84,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8244,
    "c": 0.14746,
    "h": 112.6
  },
  "luminance": 0.57377
}

Semantic roles & 50–950 ramp

primary
#C7CF52
secondary
#413C8A
accent
#48E052
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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