#CDCF52#CDCF52

#CDCF52 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.146 H 110.1°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CDCF52
RGBrgb(205, 207, 82)
HSLhsl(61, 57%, 57%)
HSVhsv(61, 60%, 81%)
CMYKcmyk(1%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.86, -16.54, 60.08)
CIE-LCHlch(80.86, 62.31, 105.39°)
OKLaboklab(82.93% -0.0502 0.1373)
OKLCHoklch(82.93% 0.146 110.1)
XYZxyz(49.0141, 58.2152, 16.6357)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF52 #5452CF
analogous
#CF9352 #CDCF52 #8FCF52
triadic
#CDCF52 #52CDCF #CF52CD
tetradic
#CDCF52 #52CF93 #5452CF #CF528F
square
#CDCF52 #52CF93 #5452CF #CF528F
split-complementary
#CDCF52 #528FCF #9352CF
monochromatic
#818224 #B0B231 #CDCF52 #DBDC82 #E9EAB2

Accessibility & contrast

On white

1.66
#CDCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CDCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF52
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF52#FFFFFF#000000##000000
##CDCF521.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#DAC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf52;
/* rgb */ color: rgb(205, 207, 82);
/* oklch */ color: oklch(82.9% 0.146 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd88',
    500: '#cdcf52',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf52;
$custom-light: #dfdd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf52",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 60.96,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82928,
    "c": 0.14619,
    "h": 110.1
  },
  "luminance": 0.58214
}

Semantic roles & 50–950 ramp

primary
#CDCF52
secondary
#3D3C8A
accent
#48E04A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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