#CDC18E#CDC18E

#CDC18E is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.069 H 96.5°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CDC18E
RGBrgb(205, 193, 142)
HSLhsl(49, 39%, 68%)
HSVhsv(49, 31%, 80%)
CMYKcmyk(0%, 5.9%, 30.7%, 19.6%)
CIE-LABlab(77.92, -3.55, 27.26)
CIE-LCHlch(77.92, 27.49, 97.42°)
OKLaboklab(80.84% -0.0077 0.0683)
OKLCHoklch(80.84% 0.069 96.5)
XYZxyz(49.1298, 53.0733, 33.2421)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC18E #8E9ACD
analogous
#CDA18E #CDC18E #B9CD8E
triadic
#CDC18E #8ECDC1 #C18ECD
tetradic
#CDC18E #8ECDA1 #8E9ACD #CD8EB9
square
#CDC18E #8ECDA1 #8E9ACD #CD8EB9
split-complementary
#CDC18E #8EB9CD #A18ECD
monochromatic
#9C8B45 #BAAA64 #CDC18E #E0D8B8 #F3F0E3

Accessibility & contrast

On white

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

On black

11.61
#CDC18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC18E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC18E#FFFFFF#000000##000000
##CDC18E1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBE8B
Deuteranopia (green-blind)
#CFC290
Tritanopia (blue-blind)
#D7BAB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc18e;
/* rgb */ color: rgb(205, 193, 142);
/* oklch */ color: oklch(80.8% 0.069 96.5);
Tailwind
colors: {
  custom: {
    50: '#ddd3af',
    500: '#cdc18e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc18e;
$custom-light: #ddd3af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc18e",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 142
  },
  "hsl": {
    "h": 48.571,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.06879,
    "h": 96.5
  },
  "luminance": 0.53072
}

Semantic roles & 50–950 ramp

primary
#CDC18E
secondary
#5D6AA2
accent
#4CB234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC18E

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

Preview Lab → · Contrast checker → · Palette generator →

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