#CDCB59#CDCB59

#CDCB59 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.136 H 108.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CDCB59
RGBrgb(205, 203, 89)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 1%, 56.6%, 19.6%)
CIE-LABlab(79.85, -14.04, 55.91)
CIE-LCHlch(79.85, 57.65, 104.09°)
OKLaboklab(82.14% -0.0423 0.1294)
OKLCHoklch(82.14% 0.136 108.1)
XYZxyz(48.3373, 56.4136, 17.7919)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB59 #595BCD
analogous
#CD9159 #CDCB59 #95CD59
triadic
#CDCB59 #59CDCB #CB59CD
tetradic
#CDCB59 #59CD91 #595BCD #CD5995
square
#CDCB59 #59CD91 #595BCD #CD5995
split-complementary
#CDCB59 #5995CD #9159CD
monochromatic
#848228 #B3B136 #CDCB59 #DBDA88 #E9E8B7

Accessibility & contrast

On white

1.71
#CDCB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CDCB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB59
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB59#FFFFFF#000000##000000
##CDCB591.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44D
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#DABFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb59;
/* rgb */ color: rgb(205, 203, 89);
/* oklch */ color: oklch(82.1% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfda8c',
    500: '#cdcb59',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb59;
$custom-light: #dfda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb59",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 58.966,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82143,
    "c": 0.13611,
    "h": 108.1
  },
  "luminance": 0.56412
}

Semantic roles & 50–950 ramp

primary
#CDCB59
secondary
#3F408B
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCB59

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

Preview Lab → · Contrast checker → · Palette generator →

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