#CFD552#CFD552

#CFD552 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.152 H 111.7°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#CFD552
RGBrgb(207, 213, 82)
HSLhsl(63, 61%, 58%)
HSVhsv(63, 62%, 84%)
CMYKcmyk(2.8%, 0%, 61.5%, 16.5%)
CIE-LABlab(82.63, -18.68, 62.03)
CIE-LCHlch(82.63, 64.78, 106.76°)
OKLaboklab(84.38% -0.0563 0.1414)
OKLCHoklch(84.38% 0.152 111.7)
XYZxyz(51.0508, 61.4643, 17.1555)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD552 #5852D5
analogous
#D59952 #CFD552 #8DD552
triadic
#CFD552 #52CFD5 #D552CF
tetradic
#CFD552 #52D599 #5852D5 #D5528D
square
#CFD552 #52D599 #5852D5 #D5528D
split-complementary
#CFD552 #528DD5 #9952D5
monochromatic
#868B22 #B6BC2E #CFD552 #DDE183 #EAEDB4

Accessibility & contrast

On white

1.58
#CFD552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#CFD552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD552
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD552#FFFFFF#000000##000000
##CFD5521.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#DCC9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd552;
/* rgb */ color: rgb(207, 213, 82);
/* oklch */ color: oklch(84.4% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e188',
    500: '#cfd552',
    950: '#000000',
  },
}
SCSS
$custom: #cfd552;
$custom-light: #e1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd552",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 62.748,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84379,
    "c": 0.15221,
    "h": 111.7
  },
  "luminance": 0.61463
}

Semantic roles & 50–950 ramp

primary
#CFD552
secondary
#3E3A91
accent
#44E44B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD552

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

Preview Lab → · Contrast checker → · Palette generator →

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