#C6DA52#C6DA52

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

Color values

HEX#C6DA52
RGBrgb(198, 218, 82)
HSLhsl(69, 65%, 59%)
HSVhsv(69, 62%, 85%)
CMYKcmyk(9.2%, 0%, 62.4%, 14.5%)
CIE-LABlab(83.31, -24.77, 62.56)
CIE-LCHlch(83.31, 67.29, 111.60°)
OKLaboklab(84.76% -0.0729 0.1427)
OKLCHoklch(84.76% 0.16 117.1)
XYZxyz(49.8841, 62.7583, 17.4667)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DA52 #6652DA
analogous
#DAAA52 #C6DA52 #82DA52
triadic
#C6DA52 #52C6DA #DA52C6
tetradic
#C6DA52 #52DAAA #6652DA #DA5282
square
#C6DA52 #52DAAA #6652DA #DA5282
split-complementary
#C6DA52 #5282DA #AA52DA
monochromatic
#81921F #AEC52A #C6DA52 #D7E584 #E7F0B7

Accessibility & contrast

On white

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

On black

13.55
#C6DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DA52
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DA52#FFFFFF#000000##000000
##C6DA521.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6da52;
/* rgb */ color: rgb(198, 218, 82);
/* oklch */ color: oklch(84.8% 0.160 117.1);
Tailwind
colors: {
  custom: {
    50: '#dae589',
    500: '#c6da52',
    950: '#000000',
  },
}
SCSS
$custom: #c6da52;
$custom-light: #dae589;
$custom-dark: #000000;
JSON
{
  "hex": "#c6da52",
  "rgb": {
    "r": 198,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 68.824,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84764,
    "c": 0.16026,
    "h": 117.1
  },
  "luminance": 0.62758
}

Semantic roles & 50–950 ramp

primary
#C6DA52
secondary
#473997
accent
#40E859
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C6DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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