#CDC25A#CDC25A

#CDC25A is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.126 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CDC25A
RGBrgb(205, 194, 90)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.4%, 56.1%, 19.6%)
CIE-LABlab(77.46, -9.39, 52.76)
CIE-LCHlch(77.46, 53.59, 100.09°)
OKLaboklab(80.25% -0.029 0.1227)
OKLCHoklch(80.25% 0.126 103.3)
XYZxyz(46.3156, 52.3025, 17.3266)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC25A #5A65CD
analogous
#CD885A #CDC25A #9ECD5A
triadic
#CDC25A #5ACDC2 #C25ACD
tetradic
#CDC25A #5ACD88 #5A65CD #CD5A9E
square
#CDC25A #5ACD88 #5A65CD #CD5A9E
split-complementary
#CDC25A #5A9ECD #885ACD
monochromatic
#847C28 #B3A736 #CDC25A #DBD389 #E9E5B8

Accessibility & contrast

On white

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

On black

11.46
#CDC25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC25A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC25A#FFFFFF#000000##000000
##CDC25A1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc25a;
/* rgb */ color: rgb(205, 194, 90);
/* oklch */ color: oklch(80.2% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#dfd48c',
    500: '#cdc25a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc25a;
$custom-light: #dfd48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc25a",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 90
  },
  "hsl": {
    "h": 54.261,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80246,
    "c": 0.1261,
    "h": 103.3
  },
  "luminance": 0.52301
}

Semantic roles & 50–950 ramp

primary
#CDC25A
secondary
#40478C
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC25A

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

Preview Lab → · Contrast checker → · Palette generator →

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