#CDC25C#CDC25C

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

Color values

HEX#CDC25C
RGBrgb(205, 194, 92)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.4%, 55.1%, 19.6%)
CIE-LABlab(77.48, -9.24, 51.86)
CIE-LCHlch(77.48, 52.67, 100.10°)
OKLaboklab(80.27% -0.0283 0.121)
OKLCHoklch(80.27% 0.124 103.2)
XYZxyz(46.4019, 52.3370, 17.7809)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC25C #5C67CD
analogous
#CD895C #CDC25C #9FCD5C
triadic
#CDC25C #5CCDC2 #C25CCD
tetradic
#CDC25C #5CCD89 #5C67CD #CD5C9F
square
#CDC25C #5CCD89 #5C67CD #CD5C9F
split-complementary
#CDC25C #5C9FCD #895CCD
monochromatic
#867D29 #B4A837 #CDC25C #DBD48B #EAE5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC25C#FFFFFF#000000##000000
##CDC25C1.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)
#D1BC52
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc25c;
/* rgb */ color: rgb(205, 194, 92);
/* oklch */ color: oklch(80.3% 0.124 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd48d',
    500: '#cdc25c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc25c;
$custom-light: #dfd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc25c",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 92
  },
  "hsl": {
    "h": 54.159,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80269,
    "c": 0.12427,
    "h": 103.2
  },
  "luminance": 0.52335
}

Semantic roles & 50–950 ramp

primary
#CDC25C
secondary
#40488D
accent
#59DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC25C

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

Preview Lab → · Contrast checker → · Palette generator →

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