#CDCB55#CDCB55

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

Color values

HEX#CDCB55
RGBrgb(205, 203, 85)
HSLhsl(59, 55%, 57%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 1%, 58.5%, 19.6%)
CIE-LABlab(79.81, -14.33, 57.64)
CIE-LCHlch(79.81, 59.40, 103.96°)
OKLaboklab(82.1% -0.0436 0.1326)
OKLCHoklch(82.1% 0.14 108.2)
XYZxyz(48.1739, 56.3483, 16.9312)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB55 #5557CD
analogous
#CD8F55 #CDCB55 #93CD55
triadic
#CDCB55 #55CDCB #CB55CD
tetradic
#CDCB55 #55CD8F #5557CD #CD5593
square
#CDCB55 #55CD8F #5557CD #CD5593
split-complementary
#CDCB55 #5593CD #8F55CD
monochromatic
#828026 #B1AF34 #CDCB55 #DBD984 #E9E8B4

Accessibility & contrast

On white

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

On black

12.27
#CDCB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB55
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB55#FFFFFF#000000##000000
##CDCB551.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcb55;
/* rgb */ color: rgb(205, 203, 85);
/* oklch */ color: oklch(82.1% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfda89',
    500: '#cdcb55',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb55;
$custom-light: #dfda89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb55",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 59,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.13953,
    "h": 108.2
  },
  "luminance": 0.56347
}

Semantic roles & 50–950 ramp

primary
#CDCB55
secondary
#3D3F89
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCB55

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

Preview Lab → · Contrast checker → · Palette generator →

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