#CDC893#CDC893

#CDC893 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.070 H 103.3°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CDC893
RGBrgb(205, 200, 147)
HSLhsl(55, 37%, 69%)
HSVhsv(55, 28%, 80%)
CMYKcmyk(0%, 2.4%, 28.3%, 19.6%)
CIE-LABlab(79.84, -6.54, 27.21)
CIE-LCHlch(79.84, 27.98, 103.51°)
OKLaboklab(82.39% -0.0161 0.0683)
OKLCHoklch(82.39% 0.07 103.3)
XYZxyz(51.0978, 56.3952, 35.7917)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC893 #9398CD
analogous
#CDAB93 #CDC893 #B5CD93
triadic
#CDC893 #93CDC8 #C893CD
tetradic
#CDC893 #93CDAB #9398CD #CD93B5
square
#CDC893 #93CDAB #9398CD #CD93B5
split-complementary
#CDC893 #93B5CD #AB93CD
monochromatic
#9D9649 #BAB369 #CDC893 #E0DDBD #F4F3E7

Accessibility & contrast

On white

1.71
#CDC893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CDC893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC893
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC893#FFFFFF#000000##000000
##CDC8931.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C490
Deuteranopia (green-blind)
#D3C795
Tritanopia (blue-blind)
#D6C1BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc893;
/* rgb */ color: rgb(205, 200, 147);
/* oklch */ color: oklch(82.4% 0.070 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd8b3',
    500: '#cdc893',
    950: '#000000',
  },
}
SCSS
$custom: #cdc893;
$custom-light: #ddd8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc893",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 147
  },
  "hsl": {
    "h": 54.828,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.82389,
    "c": 0.07022,
    "h": 103.3
  },
  "luminance": 0.56394
}

Semantic roles & 50–950 ramp

primary
#CDC893
secondary
#6268A2
accent
#40B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC893

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

Preview Lab → · Contrast checker → · Palette generator →

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