#CFCC57#CFCC57

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

Color values

HEX#CFCC57
RGBrgb(207, 204, 87)
HSLhsl(59, 56%, 58%)
HSVhsv(59, 58%, 81%)
CMYKcmyk(0%, 1.4%, 58%, 18.8%)
CIE-LABlab(80.26, -13.86, 57.30)
CIE-LCHlch(80.26, 58.96, 103.60°)
OKLaboklab(82.5% -0.0422 0.132)
OKLCHoklch(82.5% 0.139 107.7)
XYZxyz(49.0468, 57.1407, 17.4606)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC57 #575ACF
analogous
#CF9057 #CFCC57 #96CF57
triadic
#CFCC57 #57CFCC #CC57CF
tetradic
#CFCC57 #57CF90 #575ACF #CF5796
square
#CFCC57 #57CF90 #575ACF #CF5796
split-complementary
#CFCC57 #5796CF #9057CF
monochromatic
#858326 #B5B234 #CFCC57 #DDDA87 #EAE9B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC57#FFFFFF#000000##000000
##CFCC571.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)
#DBC54A
Deuteranopia (green-blind)
#DEC95E
Tritanopia (blue-blind)
#DDC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc57;
/* rgb */ color: rgb(207, 204, 87);
/* oklch */ color: oklch(82.5% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0db8b',
    500: '#cfcc57',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc57;
$custom-light: #e0db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc57",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 58.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82503,
    "c": 0.13861,
    "h": 107.7
  },
  "luminance": 0.57139
}

Semantic roles & 50–950 ramp

primary
#CFCC57
secondary
#3E408C
accent
#4DDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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