#CFDB52#CFDB52

#CFDB52 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.7% C 0.159 H 114.0°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#CFDB52
RGBrgb(207, 219, 82)
HSLhsl(65, 66%, 59%)
HSVhsv(65, 63%, 86%)
CMYKcmyk(5.5%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.25, -21.62, 63.75)
CIE-LCHlch(84.25, 67.32, 108.73°)
OKLaboklab(85.67% -0.0646 0.145)
OKLCHoklch(85.67% 0.159 114)
XYZxyz(52.5879, 64.5386, 17.6679)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB52 #5E52DB
analogous
#DBA252 #CFDB52 #8BDB52
triadic
#CFDB52 #52CFDB #DB52CF
tetradic
#CFDB52 #52DBA2 #5E52DB #DB528B
square
#CFDB52 #52DBA2 #5E52DB #DB528B
split-complementary
#CFDB52 #528BDB #A252DB
monochromatic
#8A941F #B9C629 #CFDB52 #DDE685 #EBF0B7

Accessibility & contrast

On white

1.51
#CFDB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#CFDB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB52
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB52#FFFFFF#000000##000000
##CFDB521.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#DCCFBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb52;
/* rgb */ color: rgb(207, 219, 82);
/* oklch */ color: oklch(85.7% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#e1e689',
    500: '#cfdb52',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb52;
$custom-light: #e1e689;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb52",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 65.255,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85673,
    "c": 0.15877,
    "h": 114
  },
  "luminance": 0.64538
}

Semantic roles & 50–950 ramp

primary
#CFDB52
secondary
#413999
accent
#3FE94E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDB52

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

Preview Lab → · Contrast checker → · Palette generator →

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