#CFC352#CFC352

#CFC352 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.134 H 103.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CFC352
RGBrgb(207, 195, 82)
HSLhsl(54, 57%, 57%)
HSVhsv(54, 60%, 81%)
CMYKcmyk(0%, 5.8%, 60.4%, 18.8%)
CIE-LABlab(77.82, -9.65, 56.82)
CIE-LCHlch(77.82, 57.63, 99.64°)
OKLaboklab(80.55% -0.0307 0.1304)
OKLCHoklch(80.55% 0.134 103.3)
XYZxyz(46.7719, 52.9065, 15.7293)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC352 #525ECF
analogous
#CF8552 #CFC352 #9DCF52
triadic
#CFC352 #52CFC3 #C352CF
tetradic
#CFC352 #52CF85 #525ECF #CF529D
square
#CFC352 #52CF85 #525ECF #CF529D
split-complementary
#CFC352 #529DCF #8552CF
monochromatic
#827924 #B2A631 #CFC352 #DCD482 #EAE4B2

Accessibility & contrast

On white

1.81
#CFC352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CFC352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC352
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC352#FFFFFF#000000##000000
##CFC3521.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#DDB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc352;
/* rgb */ color: rgb(207, 195, 82);
/* oklch */ color: oklch(80.5% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#e0d487',
    500: '#cfc352',
    950: '#000000',
  },
}
SCSS
$custom: #cfc352;
$custom-light: #e0d487;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc352",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 54.24,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.13392,
    "h": 103.3
  },
  "luminance": 0.52905
}

Semantic roles & 50–950 ramp

primary
#CFC352
secondary
#3C438A
accent
#57E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC352

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

Preview Lab → · Contrast checker → · Palette generator →

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