#CDCF59#CDCF59

#CDCF59 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.140 H 110.0°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDCF59
RGBrgb(205, 207, 89)
HSLhsl(61, 55%, 58%)
HSVhsv(61, 57%, 81%)
CMYKcmyk(1%, 0%, 57%, 18.8%)
CIE-LABlab(80.92, -16.04, 57.11)
CIE-LCHlch(80.92, 59.32, 105.69°)
OKLaboklab(83% -0.048 0.1319)
OKLCHoklch(83% 0.14 110)
XYZxyz(49.2942, 58.3273, 18.1109)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF59 #5B59CF
analogous
#CF9659 #CDCF59 #92CF59
triadic
#CDCF59 #59CDCF #CF59CD
tetradic
#CDCF59 #59CF96 #5B59CF #CF5992
square
#CDCF59 #59CF96 #5B59CF #CF5992
split-complementary
#CDCF59 #5992CF #9659CF
monochromatic
#858727 #B4B635 #CDCF59 #DBDD88 #EAEAB8

Accessibility & contrast

On white

1.66
#CDCF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CDCF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF59
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF59#FFFFFF#000000##000000
##CDCF591.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74C
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#DAC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf59;
/* rgb */ color: rgb(205, 207, 89);
/* oklch */ color: oklch(83.0% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8c',
    500: '#cdcf59',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf59;
$custom-light: #dfdd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf59",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 61.017,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.14039,
    "h": 110
  },
  "luminance": 0.58326
}

Semantic roles & 50–950 ramp

primary
#CDCF59
secondary
#403F8E
accent
#49DE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCF59

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

Preview Lab → · Contrast checker → · Palette generator →

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