#CDC26D#CDC26D

#CDC26D is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.107 H 102.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CDC26D
RGBrgb(205, 194, 109)
HSLhsl(53, 49%, 62%)
HSVhsv(53, 47%, 80%)
CMYKcmyk(0%, 5.4%, 46.8%, 19.6%)
CIE-LABlab(77.68, -7.76, 43.90)
CIE-LCHlch(77.68, 44.58, 100.02°)
OKLaboklab(80.49% -0.0223 0.1052)
OKLCHoklch(80.49% 0.107 102)
XYZxyz(47.2301, 52.6683, 22.1431)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC26D #6D78CD
analogous
#CD926D #CDC26D #A8CD6D
triadic
#CDC26D #6DCDC2 #C26DCD
tetradic
#CDC26D #6DCD92 #6D78CD #CD6DA8
square
#CDC26D #6DCD92 #6D78CD #CD6DA8
split-complementary
#CDC26D #6DA8CD #926DCD
monochromatic
#8F8431 #BCAE40 #CDC26D #DDD59B #ECE8C8

Accessibility & contrast

On white

1.82
#CDC26D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CDC26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC26D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC26D#FFFFFF#000000##000000
##CDC26D1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD66
Deuteranopia (green-blind)
#D3C271
Tritanopia (blue-blind)
#DAB8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc26d;
/* rgb */ color: rgb(205, 194, 109);
/* oklch */ color: oklch(80.5% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#ded498',
    500: '#cdc26d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc26d;
$custom-light: #ded498;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc26d",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 109
  },
  "hsl": {
    "h": 53.125,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80489,
    "c": 0.10748,
    "h": 102
  },
  "luminance": 0.52667
}

Semantic roles & 50–950 ramp

primary
#CDC26D
secondary
#495295
accent
#3ABC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC26D

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

Preview Lab → · Contrast checker → · Palette generator →

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