#CDCB4F#CDCB4F

#CDCB4F is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.144 H 108.3°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CDCB4F
RGBrgb(205, 203, 79)
HSLhsl(59, 56%, 56%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1%, 61.5%, 19.6%)
CIE-LABlab(79.76, -14.74, 60.16)
CIE-LCHlch(79.76, 61.94, 103.76°)
OKLaboklab(82.04% -0.0454 0.1371)
OKLCHoklch(82.04% 0.144 108.3)
XYZxyz(47.9456, 56.2569, 15.7287)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB4F #4F51CD
analogous
#CD8C4F #CDCB4F #90CD4F
triadic
#CDCB4F #4FCDCB #CB4FCD
tetradic
#CDCB4F #4FCD8C #4F51CD #CD4F90
square
#CDCB4F #4FCD8C #4F51CD #CD4F90
split-complementary
#CDCB4F #4F90CD #8C4FCD
monochromatic
#7E7C24 #AEAC31 #CDCB4F #DBD97F #E8E7AE

Accessibility & contrast

On white

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

On black

12.25
#CDCB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB4F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB4F#FFFFFF#000000##000000
##CDCB4F1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb4f;
/* rgb */ color: rgb(205, 203, 79);
/* oklch */ color: oklch(82.0% 0.144 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfda86',
    500: '#cdcb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb4f;
$custom-light: #dfda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb4f",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 59.048,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82043,
    "c": 0.1444,
    "h": 108.3
  },
  "luminance": 0.56256
}

Semantic roles & 50–950 ramp

primary
#CDCB4F
secondary
#3B3C86
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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