#CFCD59#CFCD59

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

Color values

HEX#CFCD59
RGBrgb(207, 205, 89)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 57%, 81%)
CMYKcmyk(0%, 1%, 57%, 18.8%)
CIE-LABlab(80.54, -14.22, 56.74)
CIE-LCHlch(80.54, 58.49, 104.07°)
OKLaboklab(82.74% -0.043 0.1311)
OKLCHoklch(82.74% 0.138 108.2)
XYZxyz(49.3681, 57.6507, 17.9764)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD59 #595BCF
analogous
#CF9259 #CFCD59 #96CF59
triadic
#CFCD59 #59CFCD #CD59CF
tetradic
#CFCD59 #59CF92 #595BCF #CF5996
square
#CFCD59 #59CF92 #595BCF #CF5996
split-complementary
#CFCD59 #5996CF #9259CF
monochromatic
#878527 #B6B435 #CFCD59 #DDDB88 #EAEAB8

Accessibility & contrast

On white

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

On black

12.53
#CFCD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD59
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD59#FFFFFF#000000##000000
##CFCD591.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#DECA5F
Tritanopia (blue-blind)
#DCC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd59;
/* rgb */ color: rgb(207, 205, 89);
/* oklch */ color: oklch(82.7% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0dc8c',
    500: '#cfcd59',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd59;
$custom-light: #e0dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd59",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 58.983,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82736,
    "c": 0.13793,
    "h": 108.2
  },
  "luminance": 0.57649
}

Semantic roles & 50–950 ramp

primary
#CFCD59
secondary
#3F408E
accent
#4CDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD59

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

Preview Lab → · Contrast checker → · Palette generator →

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