#CFD852#CFD852

#CFD852 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.155 H 112.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#CFD852
RGBrgb(207, 216, 82)
HSLhsl(64, 63%, 58%)
HSVhsv(64, 62%, 85%)
CMYKcmyk(4.2%, 0%, 62%, 15.3%)
CIE-LABlab(83.44, -20.16, 62.89)
CIE-LCHlch(83.44, 66.04, 107.77°)
OKLaboklab(85.03% -0.0605 0.1432)
OKLCHoklch(85.03% 0.155 112.9)
XYZxyz(51.8123, 62.9874, 17.4094)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD852 #5B52D8
analogous
#D89E52 #CFD852 #8CD852
triadic
#CFD852 #52CFD8 #D852CF
tetradic
#CFD852 #52D89E #5B52D8 #D8528C
square
#CFD852 #52D89E #5B52D8 #D8528C
split-complementary
#CFD852 #528CD8 #9E52D8
monochromatic
#888F20 #B7C12C #CFD852 #DDE384 #EBEFB6

Accessibility & contrast

On white

1.54
#CFD852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#CFD852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD852
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD852#FFFFFF#000000##000000
##CFD8521.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#DCCCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd852;
/* rgb */ color: rgb(207, 216, 82);
/* oklch */ color: oklch(85.0% 0.155 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e388',
    500: '#cfd852',
    950: '#000000',
  },
}
SCSS
$custom: #cfd852;
$custom-light: #e1e388;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd852",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 64.03,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85025,
    "c": 0.15547,
    "h": 112.9
  },
  "luminance": 0.62986
}

Semantic roles & 50–950 ramp

primary
#CFD852
secondary
#403995
accent
#42E64D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD852

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

Preview Lab → · Contrast checker → · Palette generator →

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