#CDCB71#CDCB71

#CDCB71 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.113 H 107.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDCB71
RGBrgb(205, 203, 113)
HSLhsl(59, 48%, 62%)
HSVhsv(59, 45%, 80%)
CMYKcmyk(0%, 1%, 44.9%, 19.6%)
CIE-LABlab(80.11, -11.97, 44.92)
CIE-LCHlch(80.11, 46.48, 104.92°)
OKLaboklab(82.44% -0.034 0.1077)
OKLCHoklch(82.44% 0.113 107.5)
XYZxyz(49.5144, 56.8844, 23.9911)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB71 #7173CD
analogous
#CD9D71 #CDCB71 #A1CD71
triadic
#CDCB71 #71CDCB #CB71CD
tetradic
#CDCB71 #71CD9D #7173CD #CD71A1
square
#CDCB71 #71CD9D #7173CD #CD71A1
split-complementary
#CDCB71 #71A1CD #9D71CD
monochromatic
#918F33 #BDBA44 #CDCB71 #DDDC9E #EDECCC

Accessibility & contrast

On white

1.70
#CDCB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDCB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB71
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB71#FFFFFF#000000##000000
##CDCB711.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C569
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#D9C1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb71;
/* rgb */ color: rgb(205, 203, 113);
/* oklch */ color: oklch(82.4% 0.113 107.5);
Tailwind
colors: {
  custom: {
    50: '#deda9b',
    500: '#cdcb71',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb71;
$custom-light: #deda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb71",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 58.696,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8244,
    "c": 0.11292,
    "h": 107.5
  },
  "luminance": 0.56883
}

Semantic roles & 50–950 ramp

primary
#CDCB71
secondary
#4B4D97
accent
#2DBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCB71

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

Preview Lab → · Contrast checker → · Palette generator →

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