#C7DA52#C7DA52

#C7DA52 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 84.8% C 0.160 H 116.7°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#C7DA52
RGBrgb(199, 218, 82)
HSLhsl(68, 65%, 59%)
HSVhsv(68, 62%, 85%)
CMYKcmyk(8.7%, 0%, 62.4%, 14.5%)
CIE-LABlab(83.39, -24.37, 62.66)
CIE-LCHlch(83.39, 67.23, 111.25°)
OKLaboklab(84.84% -0.0718 0.1429)
OKLCHoklch(84.84% 0.16 116.7)
XYZxyz(50.1486, 62.8947, 17.4791)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DA52 #6552DA
analogous
#DAA952 #C7DA52 #83DA52
triadic
#C7DA52 #52C7DA #DA52C7
tetradic
#C7DA52 #52DAA9 #6552DA #DA5283
square
#C7DA52 #52DAA9 #6552DA #DA5283
split-complementary
#C7DA52 #5283DA #A952DA
monochromatic
#82921F #AFC52A #C7DA52 #D7E584 #E8F0B7

Accessibility & contrast

On white

1.55
#C7DA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#C7DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DA52
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DA52#FFFFFF#000000##000000
##C7DA521.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E6D15B
Tritanopia (blue-blind)
#D3CEBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7da52;
/* rgb */ color: rgb(199, 218, 82);
/* oklch */ color: oklch(84.8% 0.160 116.7);
Tailwind
colors: {
  custom: {
    50: '#dbe589',
    500: '#c7da52',
    950: '#000000',
  },
}
SCSS
$custom: #c7da52;
$custom-light: #dbe589;
$custom-dark: #000000;
JSON
{
  "hex": "#c7da52",
  "rgb": {
    "r": 199,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 68.382,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84839,
    "c": 0.15994,
    "h": 116.7
  },
  "luminance": 0.62894
}

Semantic roles & 50–950 ramp

primary
#C7DA52
secondary
#463997
accent
#40E857
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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