#CDC867#CDC867

#CDC867 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.120 H 106.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDC867
RGBrgb(205, 200, 103)
HSLhsl(57, 50%, 60%)
HSVhsv(57, 50%, 80%)
CMYKcmyk(0%, 2.4%, 49.8%, 19.6%)
CIE-LABlab(79.20, -11.38, 48.66)
CIE-LCHlch(79.20, 49.97, 103.16°)
OKLaboklab(81.67% -0.0333 0.1152)
OKLCHoklch(81.67% 0.12 106.1)
XYZxyz(48.2805, 55.2683, 20.9539)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC867 #676CCD
analogous
#CD9567 #CDC867 #9FCD67
triadic
#CDC867 #67CDC8 #C867CD
tetradic
#CDC867 #67CD95 #676CCD #CD679F
square
#CDC867 #67CD95 #676CCD #CD679F
split-complementary
#CDC867 #679FCD #9567CD
monochromatic
#8C872E #BAB43D #CDC867 #DCD995 #EBE9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC867#FFFFFF#000000##000000
##CDC8671.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)
#D6C25E
Deuteranopia (green-blind)
#D9C66C
Tritanopia (blue-blind)
#DABDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc867;
/* rgb */ color: rgb(205, 200, 103);
/* oklch */ color: oklch(81.7% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#ded895',
    500: '#cdc867',
    950: '#000000',
  },
}
SCSS
$custom: #cdc867;
$custom-light: #ded895;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc867",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 57.059,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8167,
    "c": 0.11986,
    "h": 106.1
  },
  "luminance": 0.55267
}

Semantic roles & 50–950 ramp

primary
#CDC867
secondary
#464A92
accent
#2FBE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC867

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

Preview Lab → · Contrast checker → · Palette generator →

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