#CDC366#CDC366

#CDC366 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.116 H 103.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CDC366
RGBrgb(205, 195, 102)
HSLhsl(54, 51%, 60%)
HSVhsv(54, 50%, 80%)
CMYKcmyk(0%, 4.9%, 50.2%, 19.6%)
CIE-LABlab(77.86, -8.91, 47.55)
CIE-LCHlch(77.86, 48.37, 100.62°)
OKLaboklab(80.6% -0.0263 0.1126)
OKLCHoklch(80.6% 0.116 103.1)
XYZxyz(47.0915, 52.9702, 20.3115)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC366 #6670CD
analogous
#CD9066 #CDC366 #A3CD66
triadic
#CDC366 #66CDC3 #C366CD
tetradic
#CDC366 #66CD90 #6670CD #CD66A3
square
#CDC366 #66CD90 #6670CD #CD66A3
split-complementary
#CDC366 #66A3CD #9066CD
monochromatic
#8B822D #B9AD3D #CDC366 #DCD594 #EBE7C2

Accessibility & contrast

On white

1.81
#CDC366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CDC366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC366
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC366#FFFFFF#000000##000000
##CDC3661.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#DAB8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc366;
/* rgb */ color: rgb(205, 195, 102);
/* oklch */ color: oklch(80.6% 0.116 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded594',
    500: '#cdc366',
    950: '#000000',
  },
}
SCSS
$custom: #cdc366;
$custom-light: #ded594;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc366",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 54.175,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80603,
    "c": 0.11565,
    "h": 103.1
  },
  "luminance": 0.52969
}

Semantic roles & 50–950 ramp

primary
#CDC366
secondary
#454D92
accent
#36BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC366

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

Preview Lab → · Contrast checker → · Palette generator →

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