#CFD952#CFD952

#CFD952 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.157 H 113.3°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#CFD952
RGBrgb(207, 217, 82)
HSLhsl(64, 64%, 59%)
HSVhsv(64, 62%, 85%)
CMYKcmyk(4.6%, 0%, 62.2%, 14.9%)
CIE-LABlab(83.71, -20.64, 63.18)
CIE-LCHlch(83.71, 66.46, 108.10°)
OKLaboklab(85.24% -0.0618 0.1438)
OKLCHoklch(85.24% 0.157 113.3)
XYZxyz(52.0693, 63.5013, 17.4951)
Luminance0.6350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD952 #5C52D9
analogous
#D99F52 #CFD952 #8BD952
triadic
#CFD952 #52CFD9 #D952CF
tetradic
#CFD952 #52D99F #5C52D9 #D9528B
square
#CFD952 #52D99F #5C52D9 #D9528B
split-complementary
#CFD952 #528BD9 #9F52D9
monochromatic
#889120 #B8C32B #CFD952 #DDE484 #EBEFB6

Accessibility & contrast

On white

1.53
#CFD952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#CFD952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD952
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD952#FFFFFF#000000##000000
##CFD9521.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#DCCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd952;
/* rgb */ color: rgb(207, 217, 82);
/* oklch */ color: oklch(85.2% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#e1e489',
    500: '#cfd952',
    950: '#000000',
  },
}
SCSS
$custom: #cfd952;
$custom-light: #e1e489;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd952",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 64.444,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85241,
    "c": 0.15656,
    "h": 113.3
  },
  "luminance": 0.635
}

Semantic roles & 50–950 ramp

primary
#CFD952
secondary
#403996
accent
#41E74D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD952

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

Preview Lab → · Contrast checker → · Palette generator →

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