#CFC552#CFC552

#CFC552 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.136 H 104.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CFC552
RGBrgb(207, 197, 82)
HSLhsl(55, 57%, 57%)
HSVhsv(55, 60%, 81%)
CMYKcmyk(0%, 4.8%, 60.4%, 18.8%)
CIE-LABlab(78.35, -10.67, 57.40)
CIE-LCHlch(78.35, 58.38, 100.53°)
OKLaboklab(80.97% -0.0336 0.1316)
OKLCHoklch(80.97% 0.136 104.3)
XYZxyz(47.2230, 53.8088, 15.8796)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC552 #525CCF
analogous
#CF8752 #CFC552 #9BCF52
triadic
#CFC552 #52CFC5 #C552CF
tetradic
#CFC552 #52CF87 #525CCF #CF529B
square
#CFC552 #52CF87 #525CCF #CF529B
split-complementary
#CFC552 #529BCF #8752CF
monochromatic
#827B24 #B2A831 #CFC552 #DCD582 #EAE5B2

Accessibility & contrast

On white

1.79
#CFC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CFC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC552
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC552#FFFFFF#000000##000000
##CFC5521.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D9C458
Tritanopia (blue-blind)
#DDB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc552;
/* rgb */ color: rgb(207, 197, 82);
/* oklch */ color: oklch(81.0% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#e0d687',
    500: '#cfc552',
    950: '#000000',
  },
}
SCSS
$custom: #cfc552;
$custom-light: #e0d687;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc552",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 55.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80969,
    "c": 0.13582,
    "h": 104.3
  },
  "luminance": 0.53807
}

Semantic roles & 50–950 ramp

primary
#CFC552
secondary
#3C428A
accent
#54E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC552

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

Preview Lab → · Contrast checker → · Palette generator →

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