#CDC68E#CDC68E

#CDC68E is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.074 H 101.8°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CDC68E
RGBrgb(205, 198, 142)
HSLhsl(53, 39%, 68%)
HSVhsv(53, 31%, 80%)
CMYKcmyk(0%, 3.4%, 30.7%, 19.6%)
CIE-LABlab(79.23, -6.15, 29.01)
CIE-LCHlch(79.23, 29.65, 101.97°)
OKLaboklab(81.88% -0.0152 0.0725)
OKLCHoklch(81.88% 0.074 101.8)
XYZxyz(50.2538, 55.3214, 33.6168)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC68E #8E95CD
analogous
#CDA68E #CDC68E #B4CD8E
triadic
#CDC68E #8ECDC6 #C68ECD
tetradic
#CDC68E #8ECDA6 #8E95CD #CD8EB4
square
#CDC68E #8ECDA6 #8E95CD #CD8EB4
split-complementary
#CDC68E #8EB4CD #A68ECD
monochromatic
#9C9245 #BAB164 #CDC68E #E0DBB8 #F3F1E3

Accessibility & contrast

On white

1.74
#CDC68E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CDC68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC68E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC68E#FFFFFF#000000##000000
##CDC68E1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C28A
Deuteranopia (green-blind)
#D3C690
Tritanopia (blue-blind)
#D6BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc68e;
/* rgb */ color: rgb(205, 198, 142);
/* oklch */ color: oklch(81.9% 0.074 101.8);
Tailwind
colors: {
  custom: {
    50: '#ddd7af',
    500: '#cdc68e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc68e;
$custom-light: #ddd7af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc68e",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 142
  },
  "hsl": {
    "h": 53.333,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.81876,
    "c": 0.07409,
    "h": 101.8
  },
  "luminance": 0.5532
}

Semantic roles & 50–950 ramp

primary
#CDC68E
secondary
#5D65A2
accent
#42B234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC68E

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

Preview Lab → · Contrast checker → · Palette generator →

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