#CDCE4B#CDCE4B

#CDCE4B is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.151 H 109.7°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CDCE4B
RGBrgb(205, 206, 75)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 64%, 81%)
CMYKcmyk(0.5%, 0%, 63.6%, 19.2%)
CIE-LABlab(80.53, -16.49, 62.63)
CIE-LCHlch(80.53, 64.77, 104.75°)
OKLaboklab(82.65% -0.0508 0.1417)
OKLCHoklch(82.65% 0.151 109.7)
XYZxyz(48.5197, 57.6311, 15.2233)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE4B #4C4BCE
analogous
#CE8D4B #CDCE4B #8BCE4B
triadic
#CDCE4B #4BCDCE #CE4BCD
tetradic
#CDCE4B #4BCE8D #4C4BCE #CE4B8B
square
#CDCE4B #4BCE8D #4C4BCE #CE4B8B
split-complementary
#CDCE4B #4B8BCE #8D4BCE
monochromatic
#7C7D22 #ACAD2F #CDCE4B #DADB7B #E8E8AB

Accessibility & contrast

On white

1.68
#CDCE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CDCE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE4B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE4B#FFFFFF#000000##000000
##CDCE4B1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#DFCA53
Tritanopia (blue-blind)
#DBC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce4b;
/* rgb */ color: rgb(205, 206, 75);
/* oklch */ color: oklch(82.7% 0.151 109.7);
Tailwind
colors: {
  custom: {
    50: '#dfdc84',
    500: '#cdce4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdce4b;
$custom-light: #dfdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce4b",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 60.458,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8265,
    "c": 0.15054,
    "h": 109.7
  },
  "luminance": 0.5763
}

Semantic roles & 50–950 ramp

primary
#CDCE4B
secondary
#393984
accent
#47E049
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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