#CDC26A#CDC26A

#CDC26A is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.111 H 102.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CDC26A
RGBrgb(205, 194, 106)
HSLhsl(53, 50%, 61%)
HSVhsv(53, 48%, 80%)
CMYKcmyk(0%, 5.4%, 48.3%, 19.6%)
CIE-LABlab(77.64, -8.04, 45.34)
CIE-LCHlch(77.64, 46.04, 100.05°)
OKLaboklab(80.45% -0.0234 0.1081)
OKLCHoklch(80.45% 0.111 102.2)
XYZxyz(47.0714, 52.6048, 21.3071)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC26A #6A75CD
analogous
#CD906A #CDC26A #A6CD6A
triadic
#CDC26A #6ACDC2 #C26ACD
tetradic
#CDC26A #6ACD90 #6A75CD #CD6AA6
square
#CDC26A #6ACD90 #6A75CD #CD6AA6
split-complementary
#CDC26A #6AA6CD #906ACD
monochromatic
#8D832F #BBAD3F #CDC26A #DCD598 #ECE8C6

Accessibility & contrast

On white

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

On black

11.52
#CDC26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC26A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC26A#FFFFFF#000000##000000
##CDC26A1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD62
Deuteranopia (green-blind)
#D4C26E
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc26a;
/* rgb */ color: rgb(205, 194, 106);
/* oklch */ color: oklch(80.4% 0.111 102.2);
Tailwind
colors: {
  custom: {
    50: '#ded496',
    500: '#cdc26a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc26a;
$custom-light: #ded496;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc26a",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 106
  },
  "hsl": {
    "h": 53.333,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80447,
    "c": 0.11059,
    "h": 102.2
  },
  "luminance": 0.52603
}

Semantic roles & 50–950 ramp

primary
#CDC26A
secondary
#475094
accent
#39BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC26A

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

Preview Lab → · Contrast checker → · Palette generator →

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