#CFD052#CFD052

#CFD052 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.147 H 109.6°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CFD052
RGBrgb(207, 208, 82)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 61%, 82%)
CMYKcmyk(0.5%, 0%, 60.6%, 18.4%)
CIE-LABlab(81.28, -16.21, 60.58)
CIE-LCHlch(81.28, 62.71, 104.98°)
OKLaboklab(83.31% -0.0494 0.1383)
OKLCHoklch(83.31% 0.147 109.6)
XYZxyz(49.8125, 58.9877, 16.7428)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD052 #5352D0
analogous
#D09252 #CFD052 #90D052
triadic
#CFD052 #52CFD0 #D052CF
tetradic
#CFD052 #52D092 #5352D0 #D05290
square
#CFD052 #52D092 #5352D0 #D05290
split-complementary
#CFD052 #5290D0 #9252D0
monochromatic
#838424 #B3B431 #CFD052 #DCDD82 #EAEAB2

Accessibility & contrast

On white

1.64
#CFD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CFD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD052
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD052#FFFFFF#000000##000000
##CFD0521.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd052;
/* rgb */ color: rgb(207, 208, 82);
/* oklch */ color: oklch(83.3% 0.147 109.6);
Tailwind
colors: {
  custom: {
    50: '#e0de88',
    500: '#cfd052',
    950: '#000000',
  },
}
SCSS
$custom: #cfd052;
$custom-light: #e0de88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd052",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 60.476,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83307,
    "c": 0.14688,
    "h": 109.6
  },
  "luminance": 0.58986
}

Semantic roles & 50–950 ramp

primary
#CFD052
secondary
#3C3B8B
accent
#47E148
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD052

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

Preview Lab → · Contrast checker → · Palette generator →

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