#CFCD52#CFCD52

#CFCD52 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.144 H 108.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CFCD52
RGBrgb(207, 205, 82)
HSLhsl(59, 57%, 57%)
HSVhsv(59, 60%, 81%)
CMYKcmyk(0%, 1%, 60.4%, 18.8%)
CIE-LABlab(80.48, -14.71, 59.72)
CIE-LCHlch(80.48, 61.50, 103.84°)
OKLaboklab(82.67% -0.0451 0.1365)
OKLCHoklch(82.67% 0.144 108.3)
XYZxyz(49.0880, 57.5387, 16.5013)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD52 #5254CF
analogous
#CF8F52 #CFCD52 #93CF52
triadic
#CFCD52 #52CFCD #CD52CF
tetradic
#CFCD52 #52CF8F #5254CF #CF5293
square
#CFCD52 #52CF8F #5254CF #CF5293
split-complementary
#CFCD52 #5293CF #8F52CF
monochromatic
#828124 #B2B031 #CFCD52 #DCDB82 #EAE9B2

Accessibility & contrast

On white

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

On black

12.51
#CFCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD52
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD52#FFFFFF#000000##000000
##CFCD521.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DDC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd52;
/* rgb */ color: rgb(207, 205, 82);
/* oklch */ color: oklch(82.7% 0.144 108.3);
Tailwind
colors: {
  custom: {
    50: '#e0dc88',
    500: '#cfcd52',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd52;
$custom-light: #e0dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd52",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 59.04,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82666,
    "c": 0.14377,
    "h": 108.3
  },
  "luminance": 0.57537
}

Semantic roles & 50–950 ramp

primary
#CFCD52
secondary
#3C3D8A
accent
#4AE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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