#CFCE51#CFCE51

#CFCE51 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.146 H 108.8°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CFCE51
RGBrgb(207, 206, 81)
HSLhsl(60, 57%, 56%)
HSVhsv(60, 61%, 81%)
CMYKcmyk(0%, 0.5%, 60.9%, 18.8%)
CIE-LABlab(80.74, -15.28, 60.42)
CIE-LCHlch(80.74, 62.32, 104.19°)
OKLaboklab(82.87% -0.0468 0.1379)
OKLCHoklch(82.87% 0.146 108.8)
XYZxyz(49.2902, 58.0035, 16.3823)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE51 #5152CF
analogous
#CF8F51 #CFCE51 #91CF51
triadic
#CFCE51 #51CFCE #CE51CF
tetradic
#CFCE51 #51CF8F #5152CF #CF5191
square
#CFCE51 #51CF8F #5152CF #CF5191
split-complementary
#CFCE51 #5191CF #8F51CF
monochromatic
#828124 #B2B131 #CFCE51 #DCDC81 #E9E9B1

Accessibility & contrast

On white

1.67
#CFCE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CFCE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE51
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE51#FFFFFF#000000##000000
##CFCE511.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce51;
/* rgb */ color: rgb(207, 206, 81);
/* oklch */ color: oklch(82.9% 0.146 108.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc87',
    500: '#cfce51',
    950: '#000000',
  },
}
SCSS
$custom: #cfce51;
$custom-light: #e1dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce51",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 59.524,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8287,
    "c": 0.1456,
    "h": 108.8
  },
  "luminance": 0.58002
}

Semantic roles & 50–950 ramp

primary
#CFCE51
secondary
#3B3C89
accent
#49E048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE51

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

Preview Lab → · Contrast checker → · Palette generator →

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