#CDC266#CDC266

#CDC266 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.115 H 102.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CDC266
RGBrgb(205, 194, 102)
HSLhsl(54, 51%, 60%)
HSVhsv(54, 50%, 80%)
CMYKcmyk(0%, 5.4%, 50.2%, 19.6%)
CIE-LABlab(77.59, -8.40, 47.23)
CIE-LCHlch(77.59, 47.97, 100.08°)
OKLaboklab(80.39% -0.0248 0.1119)
OKLCHoklch(80.39% 0.115 102.5)
XYZxyz(46.8682, 52.5236, 20.2370)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC266 #6671CD
analogous
#CD8E66 #CDC266 #A5CD66
triadic
#CDC266 #66CDC2 #C266CD
tetradic
#CDC266 #66CD8E #6671CD #CD66A5
square
#CDC266 #66CD8E #6671CD #CD66A5
split-complementary
#CDC266 #66A5CD #8E66CD
monochromatic
#8B812D #B9AC3D #CDC266 #DCD494 #EBE7C2

Accessibility & contrast

On white

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

On black

11.50
#CDC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC266
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC266#FFFFFF#000000##000000
##CDC2661.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc266;
/* rgb */ color: rgb(205, 194, 102);
/* oklch */ color: oklch(80.4% 0.115 102.5);
Tailwind
colors: {
  custom: {
    50: '#ded494',
    500: '#cdc266',
    950: '#000000',
  },
}
SCSS
$custom: #cdc266;
$custom-light: #ded494;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc266",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 53.592,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80393,
    "c": 0.11465,
    "h": 102.5
  },
  "luminance": 0.52522
}

Semantic roles & 50–950 ramp

primary
#CDC266
secondary
#454E92
accent
#37BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC266

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

Preview Lab → · Contrast checker → · Palette generator →

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