#CDC25B#CDC25B

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

Color values

HEX#CDC25B
RGBrgb(205, 194, 91)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.4%, 55.6%, 19.6%)
CIE-LABlab(77.47, -9.31, 52.31)
CIE-LCHlch(77.47, 53.13, 100.10°)
OKLaboklab(80.26% -0.0286 0.1219)
OKLCHoklch(80.26% 0.125 103.2)
XYZxyz(46.3585, 52.3197, 17.5522)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC25B #5B66CD
analogous
#CD895B #CDC25B #9FCD5B
triadic
#CDC25B #5BCDC2 #C25BCD
tetradic
#CDC25B #5BCD89 #5B66CD #CD5B9F
square
#CDC25B #5BCD89 #5B66CD #CD5B9F
split-complementary
#CDC25B #5B9FCD #895BCD
monochromatic
#857C29 #B4A837 #CDC25B #DBD38A #EAE5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC25B#FFFFFF#000000##000000
##CDC25B1.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)
#D1BC51
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc25b;
/* rgb */ color: rgb(205, 194, 91);
/* oklch */ color: oklch(80.3% 0.125 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd48d',
    500: '#cdc25b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc25b;
$custom-light: #dfd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc25b",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 54.211,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80258,
    "c": 0.12518,
    "h": 103.2
  },
  "luminance": 0.52318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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