#CDC68F#CDC68F

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

Color values

HEX#CDC68F
RGBrgb(205, 198, 143)
HSLhsl(53, 38%, 68%)
HSVhsv(53, 30%, 80%)
CMYKcmyk(0%, 3.4%, 30.2%, 19.6%)
CIE-LABlab(79.24, -6.02, 28.51)
CIE-LCHlch(79.24, 29.14, 101.92°)
OKLaboklab(81.9% -0.0148 0.0714)
OKLCHoklch(81.9% 0.073 101.7)
XYZxyz(50.3292, 55.3515, 34.0139)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC68F #8F96CD
analogous
#CDA78F #CDC68F #B5CD8F
triadic
#CDC68F #8FCDC6 #C68FCD
tetradic
#CDC68F #8FCDA7 #8F96CD #CD8FB5
square
#CDC68F #8FCDA7 #8F96CD #CD8FB5
split-complementary
#CDC68F #8FB5CD #A78FCD
monochromatic
#9C9246 #BAB065 #CDC68F #E0DCB9 #F3F1E4

Accessibility & contrast

On white

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

On black

12.07
#CDC68F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC68F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC68F#FFFFFF#000000##000000
##CDC68F1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C28B
Deuteranopia (green-blind)
#D2C691
Tritanopia (blue-blind)
#D6BFB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc68f;
/* rgb */ color: rgb(205, 198, 143);
/* oklch */ color: oklch(81.9% 0.073 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddd7b0',
    500: '#cdc68f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc68f;
$custom-light: #ddd7b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc68f",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 143
  },
  "hsl": {
    "h": 53.226,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.81896,
    "c": 0.07287,
    "h": 101.7
  },
  "luminance": 0.5535
}

Semantic roles & 50–950 ramp

primary
#CDC68F
secondary
#5E66A2
accent
#42B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC68F

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

Preview Lab → · Contrast checker → · Palette generator →

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