#CFCC59#CFCC59

#CFCC59 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.137 H 107.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CFCC59
RGBrgb(207, 204, 89)
HSLhsl(58, 55%, 58%)
HSVhsv(58, 57%, 81%)
CMYKcmyk(0%, 1.4%, 57%, 18.8%)
CIE-LABlab(80.28, -13.72, 56.44)
CIE-LCHlch(80.28, 58.08, 103.66°)
OKLaboklab(82.52% -0.0415 0.1304)
OKLCHoklch(82.52% 0.137 107.7)
XYZxyz(49.1296, 57.1738, 17.8969)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC59 #595CCF
analogous
#CF9159 #CFCC59 #97CF59
triadic
#CFCC59 #59CFCC #CC59CF
tetradic
#CFCC59 #59CF91 #595CCF #CF5997
square
#CFCC59 #59CF91 #595CCF #CF5997
split-complementary
#CFCC59 #5997CF #9159CF
monochromatic
#878427 #B6B335 #CFCC59 #DDDB88 #EAE9B8

Accessibility & contrast

On white

1.69
#CFCC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CFCC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC59
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC59#FFFFFF#000000##000000
##CFCC591.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54D
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#DCC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc59;
/* rgb */ color: rgb(207, 204, 89);
/* oklch */ color: oklch(82.5% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0db8c',
    500: '#cfcc59',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc59;
$custom-light: #e0db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc59",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 58.475,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82523,
    "c": 0.13689,
    "h": 107.7
  },
  "luminance": 0.57172
}

Semantic roles & 50–950 ramp

primary
#CFCC59
secondary
#3F418E
accent
#4DDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCC59

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

Preview Lab → · Contrast checker → · Palette generator →

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