#CFC752#CFC752

#CFC752 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.138 H 105.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CFC752
RGBrgb(207, 199, 82)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 60%, 81%)
CMYKcmyk(0%, 3.9%, 60.4%, 18.8%)
CIE-LABlab(78.88, -11.69, 57.98)
CIE-LCHlch(78.88, 59.14, 101.40°)
OKLaboklab(81.39% -0.0365 0.1328)
OKLCHoklch(81.39% 0.138 105.4)
XYZxyz(47.6802, 54.7230, 16.0320)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC752 #525ACF
analogous
#CF8952 #CFC752 #99CF52
triadic
#CFC752 #52CFC7 #C752CF
tetradic
#CFC752 #52CF89 #525ACF #CF5299
square
#CFC752 #52CF89 #525ACF #CF5299
split-complementary
#CFC752 #5299CF #8952CF
monochromatic
#827C24 #B2AA31 #CFC752 #DCD782 #EAE6B2

Accessibility & contrast

On white

1.76
#CFC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CFC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC752
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC752#FFFFFF#000000##000000
##CFC7521.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc752;
/* rgb */ color: rgb(207, 199, 82);
/* oklch */ color: oklch(81.4% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0d787',
    500: '#cfc752',
    950: '#000000',
  },
}
SCSS
$custom: #cfc752;
$custom-light: #e0d787;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc752",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 56.16,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81391,
    "c": 0.13775,
    "h": 105.4
  },
  "luminance": 0.54721
}

Semantic roles & 50–950 ramp

primary
#CFC752
secondary
#3C418A
accent
#52E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC752

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

Preview Lab → · Contrast checker → · Palette generator →

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