#CDCB54#CDCB54

#CDCB54 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#CDCB54
RGBrgb(205, 203, 84)
HSLhsl(59, 55%, 57%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 1%, 59%, 19.6%)
CIE-LABlab(79.80, -14.40, 58.07)
CIE-LCHlch(79.80, 59.83, 103.93°)
OKLaboklab(82.09% -0.0439 0.1333)
OKLCHoklch(82.09% 0.14 108.2)
XYZxyz(48.1345, 56.3325, 16.7235)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB54 #5456CD
analogous
#CD8F54 #CDCB54 #93CD54
triadic
#CDCB54 #54CDCB #CB54CD
tetradic
#CDCB54 #54CD8F #5456CD #CD5493
square
#CDCB54 #54CD8F #5456CD #CD5493
split-complementary
#CDCB54 #5493CD #8F54CD
monochromatic
#817F26 #B0AE34 #CDCB54 #DBD983 #E9E8B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCB54#FFFFFF#000000##000000
##CDCB541.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)
#DAC347
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#DBBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb54;
/* rgb */ color: rgb(205, 203, 84);
/* oklch */ color: oklch(82.1% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfda89',
    500: '#cdcb54',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb54;
$custom-light: #dfda89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb54",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 59.008,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82091,
    "c": 0.14036,
    "h": 108.2
  },
  "luminance": 0.56331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCB54

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

Preview Lab → · Contrast checker → · Palette generator →

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