#CDC68A#CDC68A

#CDC68A is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.079 H 102.3°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CDC68A
RGBrgb(205, 198, 138)
HSLhsl(54, 40%, 67%)
HSVhsv(54, 33%, 80%)
CMYKcmyk(0%, 3.4%, 32.7%, 19.6%)
CIE-LABlab(79.16, -6.65, 31.01)
CIE-LCHlch(79.16, 31.71, 102.10°)
OKLaboklab(81.8% -0.0168 0.0771)
OKLCHoklch(81.8% 0.079 102.3)
XYZxyz(49.9589, 55.2034, 32.0634)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC68A #8A91CD
analogous
#CDA48A #CDC68A #B3CD8A
triadic
#CDC68A #8ACDC6 #C68ACD
tetradic
#CDC68A #8ACDA4 #8A91CD #CD8AB3
square
#CDC68A #8ACDA4 #8A91CD #CD8AB3
split-complementary
#CDC68A #8AB3CD #A48ACD
monochromatic
#9B9142 #BBB15F #CDC68A #DFDBB5 #F2F0E0

Accessibility & contrast

On white

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

On black

12.04
#CDC68A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC68A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC68A#FFFFFF#000000##000000
##CDC68A1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C286
Deuteranopia (green-blind)
#D3C68C
Tritanopia (blue-blind)
#D7BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc68a;
/* rgb */ color: rgb(205, 198, 138);
/* oklch */ color: oklch(81.8% 0.079 102.3);
Tailwind
colors: {
  custom: {
    50: '#ddd7ac',
    500: '#cdc68a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc68a;
$custom-light: #ddd7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc68a",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 138
  },
  "hsl": {
    "h": 53.731,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.818,
    "c": 0.07894,
    "h": 102.3
  },
  "luminance": 0.55202
}

Semantic roles & 50–950 ramp

primary
#CDC68A
secondary
#5A62A1
accent
#40B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC68A

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

Preview Lab → · Contrast checker → · Palette generator →

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