#CDCB58#CDCB58

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

Color values

HEX#CDCB58
RGBrgb(205, 203, 88)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 1%, 57.1%, 19.6%)
CIE-LABlab(79.84, -14.11, 56.35)
CIE-LCHlch(79.84, 58.09, 104.06°)
OKLaboklab(82.13% -0.0426 0.1302)
OKLCHoklch(82.13% 0.137 108.1)
XYZxyz(48.2956, 56.3969, 17.5723)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB58 #585ACD
analogous
#CD9058 #CDCB58 #95CD58
triadic
#CDCB58 #58CDCB #CB58CD
tetradic
#CDCB58 #58CD90 #585ACD #CD5895
square
#CDCB58 #58CD90 #585ACD #CD5895
split-complementary
#CDCB58 #5895CD #9058CD
monochromatic
#838227 #B2B035 #CDCB58 #DBDA87 #E9E8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCB58#FFFFFF#000000##000000
##CDCB581.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)
#DAC44C
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#DABFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb58;
/* rgb */ color: rgb(205, 203, 88);
/* oklch */ color: oklch(82.1% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfda8b',
    500: '#cdcb58',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb58;
$custom-light: #dfda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb58",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 58.974,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82132,
    "c": 0.13698,
    "h": 108.1
  },
  "luminance": 0.56396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCB58

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

Preview Lab → · Contrast checker → · Palette generator →

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