#CDC25D#CDC25D

#CDC25D is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.123 H 103.1°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CDC25D
RGBrgb(205, 194, 93)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.4%, 54.6%, 19.6%)
CIE-LABlab(77.49, -9.16, 51.40)
CIE-LCHlch(77.49, 52.21, 100.10°)
OKLaboklab(80.28% -0.028 0.1201)
OKLCHoklch(80.28% 0.123 103.1)
XYZxyz(46.4459, 52.3546, 18.0127)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC25D #5D68CD
analogous
#CD8A5D #CDC25D #A0CD5D
triadic
#CDC25D #5DCDC2 #C25DCD
tetradic
#CDC25D #5DCD8A #5D68CD #CD5DA0
square
#CDC25D #5DCD8A #5D68CD #CD5DA0
split-complementary
#CDC25D #5DA0CD #8A5DCD
monochromatic
#867D29 #B5A938 #CDC25D #DBD48C #EAE5BB

Accessibility & contrast

On white

1.83
#CDC25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CDC25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC25D
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC25D#FFFFFF#000000##000000
##CDC25D1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC53
Deuteranopia (green-blind)
#D5C262
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc25d;
/* rgb */ color: rgb(205, 194, 93);
/* oklch */ color: oklch(80.3% 0.123 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd48e',
    500: '#cdc25d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc25d;
$custom-light: #dfd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc25d",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 54.107,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80281,
    "c": 0.12333,
    "h": 103.1
  },
  "luminance": 0.52353
}

Semantic roles & 50–950 ramp

primary
#CDC25D
secondary
#41488D
accent
#5ADC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC25D

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

Preview Lab → · Contrast checker → · Palette generator →

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