#CDCA90#CDCA90

#CDCA90 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.076 H 105.5°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CDCA90
RGBrgb(205, 202, 144)
HSLhsl(57, 38%, 68%)
HSVhsv(57, 30%, 80%)
CMYKcmyk(0%, 1.5%, 29.8%, 19.6%)
CIE-LABlab(80.31, -7.96, 29.41)
CIE-LCHlch(80.31, 30.47, 105.14°)
OKLaboklab(82.75% -0.0203 0.0735)
OKLCHoklch(82.75% 0.076 105.5)
XYZxyz(51.3317, 57.2347, 34.7235)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA90 #9093CD
analogous
#CDAB90 #CDCA90 #B1CD90
triadic
#CDCA90 #90CDCA #CA90CD
tetradic
#CDCA90 #90CDAB #9093CD #CD90B1
square
#CDCA90 #90CDAB #9093CD #CD90B1
split-complementary
#CDCA90 #90B1CD #AB90CD
monochromatic
#9C9846 #BAB666 #CDCA90 #E0DEBA #F3F2E4

Accessibility & contrast

On white

1.69
#CDCA90 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CDCA90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA90
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA90#FFFFFF#000000##000000
##CDCA901.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C68C
Deuteranopia (green-blind)
#D6C992
Tritanopia (blue-blind)
#D6C3BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca90;
/* rgb */ color: rgb(205, 202, 144);
/* oklch */ color: oklch(82.7% 0.076 105.5);
Tailwind
colors: {
  custom: {
    50: '#dddab1',
    500: '#cdca90',
    950: '#000000',
  },
}
SCSS
$custom: #cdca90;
$custom-light: #dddab1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca90",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 144
  },
  "hsl": {
    "h": 57.049,
    "s": 37.888,
    "l": 68.431
  },
  "oklch": {
    "l": 0.82747,
    "c": 0.07628,
    "h": 105.5
  },
  "luminance": 0.57234
}

Semantic roles & 50–950 ramp

primary
#CDCA90
secondary
#5F62A2
accent
#3BB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA90

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

Preview Lab → · Contrast checker → · Palette generator →

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