#CFD452#CFD452

#CFD452 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.2% C 0.151 H 111.3°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CFD452
RGBrgb(207, 212, 82)
HSLhsl(62, 60%, 58%)
HSVhsv(62, 61%, 83%)
CMYKcmyk(2.4%, 0%, 61.3%, 16.9%)
CIE-LABlab(82.36, -18.19, 61.74)
CIE-LCHlch(82.36, 64.36, 106.42°)
OKLaboklab(84.16% -0.0549 0.1408)
OKLCHoklch(84.16% 0.151 111.3)
XYZxyz(50.8000, 60.9628, 17.0720)
Luminance0.6096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD452 #5752D4
analogous
#D49852 #CFD452 #8ED452
triadic
#CFD452 #52CFD4 #D452CF
tetradic
#CFD452 #52D498 #5752D4 #D4528E
square
#CFD452 #52D498 #5752D4 #D4528E
split-complementary
#CFD452 #528ED4 #9852D4
monochromatic
#858922 #B5BA2E #CFD452 #DDE083 #EAECB4

Accessibility & contrast

On white

1.59
#CFD452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#CFD452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD452
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD452#FFFFFF#000000##000000
##CFD4521.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#DCC8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd452;
/* rgb */ color: rgb(207, 212, 82);
/* oklch */ color: oklch(84.2% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e188',
    500: '#cfd452',
    950: '#000000',
  },
}
SCSS
$custom: #cfd452;
$custom-light: #e1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd452",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 62.308,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84164,
    "c": 0.15113,
    "h": 111.3
  },
  "luminance": 0.60962
}

Semantic roles & 50–950 ramp

primary
#CFD452
secondary
#3E3B90
accent
#44E34B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD452

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

Preview Lab → · Contrast checker → · Palette generator →

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