#CDC26F#CDC26F

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

Color values

HEX#CDC26F
RGBrgb(205, 194, 111)
HSLhsl(53, 48%, 62%)
HSVhsv(53, 46%, 80%)
CMYKcmyk(0%, 5.4%, 45.9%, 19.6%)
CIE-LABlab(77.70, -7.56, 42.94)
CIE-LCHlch(77.70, 43.60, 99.99°)
OKLaboklab(80.52% -0.0215 0.1032)
OKLCHoklch(80.52% 0.105 101.8)
XYZxyz(47.3390, 52.7119, 22.7166)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC26F #6F7ACD
analogous
#CD936F #CDC26F #A9CD6F
triadic
#CDC26F #6FCDC2 #C26FCD
tetradic
#CDC26F #6FCD93 #6F7ACD #CD6FA9
square
#CDC26F #6FCD93 #6F7ACD #CD6FA9
split-complementary
#CDC26F #6FA9CD #936FCD
monochromatic
#908532 #BDAF42 #CDC26F #DDD59C #EDE8CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC26F#FFFFFF#000000##000000
##CDC26F1.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)
#D0BD68
Deuteranopia (green-blind)
#D3C273
Tritanopia (blue-blind)
#D9B8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc26f;
/* rgb */ color: rgb(205, 194, 111);
/* oklch */ color: oklch(80.5% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#ded49a',
    500: '#cdc26f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc26f;
$custom-light: #ded49a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc26f",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 111
  },
  "hsl": {
    "h": 52.979,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80518,
    "c": 0.10537,
    "h": 101.8
  },
  "luminance": 0.5271
}

Semantic roles & 50–950 ramp

primary
#CDC26F
secondary
#4A5396
accent
#3BBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC26F

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

Preview Lab → · Contrast checker → · Palette generator →

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