#CFC452#CFC452

#CFC452 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.135 H 103.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CFC452
RGBrgb(207, 196, 82)
HSLhsl(55, 57%, 57%)
HSVhsv(55, 60%, 81%)
CMYKcmyk(0%, 5.3%, 60.4%, 18.8%)
CIE-LABlab(78.08, -10.16, 57.11)
CIE-LCHlch(78.08, 58.00, 100.09°)
OKLaboklab(80.76% -0.0322 0.131)
OKLCHoklch(80.76% 0.135 103.8)
XYZxyz(46.9967, 53.3561, 15.8042)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC452 #525DCF
analogous
#CF8652 #CFC452 #9CCF52
triadic
#CFC452 #52CFC4 #C452CF
tetradic
#CFC452 #52CF86 #525DCF #CF529C
square
#CFC452 #52CF86 #525DCF #CF529C
split-complementary
#CFC452 #529CCF #8652CF
monochromatic
#827A24 #B2A731 #CFC452 #DCD482 #EAE5B2

Accessibility & contrast

On white

1.80
#CFC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CFC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC452
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC452#FFFFFF#000000##000000
##CFC4521.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc452;
/* rgb */ color: rgb(207, 196, 82);
/* oklch */ color: oklch(80.8% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d587',
    500: '#cfc452',
    950: '#000000',
  },
}
SCSS
$custom: #cfc452;
$custom-light: #e0d587;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc452",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 54.72,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80758,
    "c": 0.13487,
    "h": 103.8
  },
  "luminance": 0.53354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC452

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

Preview Lab → · Contrast checker → · Palette generator →

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