#CDCB57#CDCB57

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

Color values

HEX#CDCB57
RGBrgb(205, 203, 87)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 1%, 57.6%, 19.6%)
CIE-LABlab(79.83, -14.19, 56.78)
CIE-LCHlch(79.83, 58.53, 104.03°)
OKLaboklab(82.12% -0.043 0.131)
OKLCHoklch(82.12% 0.138 108.2)
XYZxyz(48.2545, 56.3805, 17.3556)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB57 #5759CD
analogous
#CD9057 #CDCB57 #94CD57
triadic
#CDCB57 #57CDCB #CB57CD
tetradic
#CDCB57 #57CD90 #5759CD #CD5794
square
#CDCB57 #57CD90 #5759CD #CD5794
split-complementary
#CDCB57 #5794CD #9057CD
monochromatic
#838127 #B2B035 #CDCB57 #DBDA86 #E9E8B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cdcb57;
/* rgb */ color: rgb(205, 203, 87);
/* oklch */ color: oklch(82.1% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfda8b',
    500: '#cdcb57',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb57;
$custom-light: #dfda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb57",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 58.983,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82122,
    "c": 0.13784,
    "h": 108.2
  },
  "luminance": 0.56379
}

Semantic roles & 50–950 ramp

primary
#CDCB57
secondary
#3E3F8A
accent
#4DDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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