#CFCD51#CFCD51

#CFCD51 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.145 H 108.3°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CFCD51
RGBrgb(207, 205, 81)
HSLhsl(59, 57%, 56%)
HSVhsv(59, 61%, 81%)
CMYKcmyk(0%, 1%, 60.9%, 18.8%)
CIE-LABlab(80.47, -14.78, 60.13)
CIE-LCHlch(80.47, 61.92, 103.81°)
OKLaboklab(82.66% -0.0454 0.1373)
OKLCHoklch(82.66% 0.145 108.3)
XYZxyz(49.0502, 57.5235, 16.3023)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD51 #5153CF
analogous
#CF8E51 #CFCD51 #92CF51
triadic
#CFCD51 #51CFCD #CD51CF
tetradic
#CFCD51 #51CF8E #5153CF #CF5192
square
#CFCD51 #51CF8E #5153CF #CF5192
split-complementary
#CFCD51 #5192CF #8E51CF
monochromatic
#828024 #B2B031 #CFCD51 #DCDB81 #E9E9B1

Accessibility & contrast

On white

1.68
#CFCD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CFCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD51
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD51#FFFFFF#000000##000000
##CFCD511.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#DDC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd51;
/* rgb */ color: rgb(207, 205, 81);
/* oklch */ color: oklch(82.7% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e1dc87',
    500: '#cfcd51',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd51;
$custom-light: #e1dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd51",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 59.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82657,
    "c": 0.14457,
    "h": 108.3
  },
  "luminance": 0.57522
}

Semantic roles & 50–950 ramp

primary
#CFCD51
secondary
#3B3C89
accent
#4AE048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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