#CFCD57#CFCD57

#CFCD57 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.140 H 108.2°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CFCD57
RGBrgb(207, 205, 87)
HSLhsl(59, 56%, 58%)
HSVhsv(59, 58%, 81%)
CMYKcmyk(0%, 1%, 58%, 18.8%)
CIE-LABlab(80.53, -14.36, 57.60)
CIE-LCHlch(80.53, 59.36, 104.00°)
OKLaboklab(82.72% -0.0436 0.1327)
OKLCHoklch(82.72% 0.14 108.2)
XYZxyz(49.2852, 57.6176, 17.5401)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD57 #5759CF
analogous
#CF9157 #CFCD57 #95CF57
triadic
#CFCD57 #57CFCD #CD57CF
tetradic
#CFCD57 #57CF91 #5759CF #CF5795
square
#CFCD57 #57CF91 #5759CF #CF5795
split-complementary
#CFCD57 #5795CF #9157CF
monochromatic
#858426 #B5B334 #CFCD57 #DDDB87 #EAE9B6

Accessibility & contrast

On white

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

On black

12.52
#CFCD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD57
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD57#FFFFFF#000000##000000
##CFCD571.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#DDC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd57;
/* rgb */ color: rgb(207, 205, 87);
/* oklch */ color: oklch(82.7% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0dc8b',
    500: '#cfcd57',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd57;
$custom-light: #e0dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd57",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 59,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82715,
    "c": 0.13965,
    "h": 108.2
  },
  "luminance": 0.57616
}

Semantic roles & 50–950 ramp

primary
#CFCD57
secondary
#3E3F8C
accent
#4BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD57

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

Preview Lab → · Contrast checker → · Palette generator →

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