#C7D052#C7D052

#C7D052 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.7% C 0.149 H 113.0°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#C7D052
RGBrgb(199, 208, 82)
HSLhsl(64, 57%, 57%)
HSVhsv(64, 61%, 82%)
CMYKcmyk(4.3%, 0%, 60.6%, 18.4%)
CIE-LABlab(80.66, -19.50, 59.73)
CIE-LCHlch(80.66, 62.83, 108.08°)
OKLaboklab(82.66% -0.0582 0.1367)
OKLCHoklch(82.66% 0.149 113)
XYZxyz(47.6332, 57.8640, 16.6406)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D052 #5B52D0
analogous
#D09A52 #C7D052 #88D052
triadic
#C7D052 #52C7D0 #D052C7
tetradic
#C7D052 #52D09A #5B52D0 #D05288
square
#C7D052 #52D09A #5B52D0 #D05288
split-complementary
#C7D052 #5288D0 #9A52D0
monochromatic
#7D8424 #ABB431 #C7D052 #D7DD82 #E6EAB2

Accessibility & contrast

On white

1.67
#C7D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#C7D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D052
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D052#FFFFFF#000000##000000
##C7D0521.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#DECA5A
Tritanopia (blue-blind)
#D3C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d052;
/* rgb */ color: rgb(199, 208, 82);
/* oklch */ color: oklch(82.7% 0.149 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbde88',
    500: '#c7d052',
    950: '#000000',
  },
}
SCSS
$custom: #c7d052;
$custom-light: #dbde88;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d052",
  "rgb": {
    "r": 199,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 64.286,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82657,
    "c": 0.14858,
    "h": 113
  },
  "luminance": 0.57863
}

Semantic roles & 50–950 ramp

primary
#C7D052
secondary
#413B8B
accent
#47E152
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D052

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

Preview Lab → · Contrast checker → · Palette generator →

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