#CDC68B#CDC68B

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

Color values

HEX#CDC68B
RGBrgb(205, 198, 139)
HSLhsl(54, 40%, 67%)
HSVhsv(54, 32%, 80%)
CMYKcmyk(0%, 3.4%, 32.2%, 19.6%)
CIE-LABlab(79.17, -6.52, 30.51)
CIE-LCHlch(79.17, 31.20, 102.07°)
OKLaboklab(81.82% -0.0164 0.076)
OKLCHoklch(81.82% 0.078 102.2)
XYZxyz(50.0316, 55.2325, 32.4465)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC68B #8B92CD
analogous
#CDA58B #CDC68B #B3CD8B
triadic
#CDC68B #8BCDC6 #C68BCD
tetradic
#CDC68B #8BCDA5 #8B92CD #CD8BB3
square
#CDC68B #8BCDA5 #8B92CD #CD8BB3
split-complementary
#CDC68B #8BB3CD #A58BCD
monochromatic
#9B9243 #BBB160 #CDC68B #DFDBB6 #F2F0E1

Accessibility & contrast

On white

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

On black

12.05
#CDC68B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC68B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC68B#FFFFFF#000000##000000
##CDC68B1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C287
Deuteranopia (green-blind)
#D3C68D
Tritanopia (blue-blind)
#D7BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc68b;
/* rgb */ color: rgb(205, 198, 139);
/* oklch */ color: oklch(81.8% 0.078 102.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7ad',
    500: '#cdc68b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc68b;
$custom-light: #ddd7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc68b",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 139
  },
  "hsl": {
    "h": 53.636,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.81819,
    "c": 0.07774,
    "h": 102.2
  },
  "luminance": 0.55231
}

Semantic roles & 50–950 ramp

primary
#CDC68B
secondary
#5B62A1
accent
#40B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC68B

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

Preview Lab → · Contrast checker → · Palette generator →

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