#CDC26E#CDC26E

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

Color values

HEX#CDC26E
RGBrgb(205, 194, 110)
HSLhsl(53, 49%, 62%)
HSVhsv(53, 46%, 80%)
CMYKcmyk(0%, 5.4%, 46.3%, 19.6%)
CIE-LABlab(77.69, -7.66, 43.42)
CIE-LCHlch(77.69, 44.09, 100.00°)
OKLaboklab(80.5% -0.0219 0.1042)
OKLCHoklch(80.5% 0.106 101.9)
XYZxyz(47.2843, 52.6900, 22.4282)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC26E #6E79CD
analogous
#CD936E #CDC26E #A9CD6E
triadic
#CDC26E #6ECDC2 #C26ECD
tetradic
#CDC26E #6ECD93 #6E79CD #CD6EA9
square
#CDC26E #6ECD93 #6E79CD #CD6EA9
split-complementary
#CDC26E #6EA9CD #936ECD
monochromatic
#8F8431 #BDAE41 #CDC26E #DDD59C #ECE8C9

Accessibility & contrast

On white

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

On black

11.54
#CDC26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC26E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC26E#FFFFFF#000000##000000
##CDC26E1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD67
Deuteranopia (green-blind)
#D3C272
Tritanopia (blue-blind)
#D9B8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc26e;
/* rgb */ color: rgb(205, 194, 110);
/* oklch */ color: oklch(80.5% 0.106 101.9);
Tailwind
colors: {
  custom: {
    50: '#ded499',
    500: '#cdc26e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc26e;
$custom-light: #ded499;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc26e",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 110
  },
  "hsl": {
    "h": 53.053,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80503,
    "c": 0.10643,
    "h": 101.9
  },
  "luminance": 0.52688
}

Semantic roles & 50–950 ramp

primary
#CDC26E
secondary
#4A5296
accent
#3ABC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC26E

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

Preview Lab → · Contrast checker → · Palette generator →

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