#CDC154#CDC154

#CDC154 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.130 H 103.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CDC154
RGBrgb(205, 193, 84)
HSLhsl(54, 55%, 57%)
HSVhsv(54, 59%, 80%)
CMYKcmyk(0%, 5.9%, 59%, 19.6%)
CIE-LABlab(77.14, -9.32, 55.13)
CIE-LCHlch(77.14, 55.91, 99.60°)
OKLaboklab(79.97% -0.0295 0.1271)
OKLCHoklch(79.97% 0.13 103.1)
XYZxyz(45.8486, 51.7608, 15.9615)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC154 #5460CD
analogous
#CD8554 #CDC154 #9CCD54
triadic
#CDC154 #54CDC1 #C154CD
tetradic
#CDC154 #54CD85 #5460CD #CD549C
square
#CDC154 #54CD85 #5460CD #CD549C
split-complementary
#CDC154 #549CCD #8554CD
monochromatic
#817826 #B0A434 #CDC154 #DBD283 #E9E3B3

Accessibility & contrast

On white

1.85
#CDC154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CDC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC154
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC154#FFFFFF#000000##000000
##CDC1541.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB48
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc154;
/* rgb */ color: rgb(205, 193, 84);
/* oklch */ color: oklch(80.0% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd388',
    500: '#cdc154',
    950: '#000000',
  },
}
SCSS
$custom: #cdc154;
$custom-light: #dfd388;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc154",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 54.05,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.13043,
    "h": 103.1
  },
  "luminance": 0.51759
}

Semantic roles & 50–950 ramp

primary
#CDC154
secondary
#3D4488
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC154

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

Preview Lab → · Contrast checker → · Palette generator →

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