#CDC25E#CDC25E

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

Color values

HEX#CDC25E
RGBrgb(205, 194, 94)
HSLhsl(54, 53%, 59%)
HSVhsv(54, 54%, 80%)
CMYKcmyk(0%, 5.4%, 54.1%, 19.6%)
CIE-LABlab(77.50, -9.08, 50.95)
CIE-LCHlch(77.50, 51.75, 100.10°)
OKLaboklab(80.29% -0.0276 0.1192)
OKLCHoklch(80.29% 0.122 103)
XYZxyz(46.4905, 52.3725, 18.2475)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC25E #5E69CD
analogous
#CD8A5E #CDC25E #A0CD5E
triadic
#CDC25E #5ECDC2 #C25ECD
tetradic
#CDC25E #5ECD8A #5E69CD #CD5EA0
square
#CDC25E #5ECD8A #5E69CD #CD5EA0
split-complementary
#CDC25E #5EA0CD #8A5ECD
monochromatic
#877E2A #B5A938 #CDC25E #DCD48D #EAE5BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC25E#FFFFFF#000000##000000
##CDC25E1.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)
#D1BC54
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#DBB7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc25e;
/* rgb */ color: rgb(205, 194, 94);
/* oklch */ color: oklch(80.3% 0.122 103.0);
Tailwind
colors: {
  custom: {
    50: '#dfd48e',
    500: '#cdc25e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc25e;
$custom-light: #dfd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc25e",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 54.054,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80293,
    "c": 0.1224,
    "h": 103
  },
  "luminance": 0.52371
}

Semantic roles & 50–950 ramp

primary
#CDC25E
secondary
#41498E
accent
#5ADC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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