#CDCE2B#CDCE2B

#CDCE2B is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.4% C 0.169 H 110.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCE2B
RGBrgb(205, 206, 43)
HSLhsl(60, 65%, 49%)
HSVhsv(60, 79%, 81%)
CMYKcmyk(0.5%, 0%, 79.1%, 19.2%)
CIE-LABlab(80.35, -17.99, 73.44)
CIE-LCHlch(80.35, 75.61, 103.76°)
OKLaboklab(82.44% -0.0578 0.1592)
OKLCHoklch(82.44% 0.169 110)
XYZxyz(47.6860, 57.2976, 10.8326)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE2B #2C2BCE
analogous
#CE7E2B #CDCE2B #7CCE2B
triadic
#CDCE2B #2BCDCE #CE2BCD
tetradic
#CDCE2B #2BCE7E #2C2BCE #CE2B7C
square
#CDCE2B #2BCE7E #2C2BCE #CE2B7C
split-complementary
#CDCE2B #2B7CCE #7E2BCE
monochromatic
#686916 #9B9B20 #CDCE2B #DCDC5A #E7E78C

Accessibility & contrast

On white

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

On black

12.46
#CDCE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE2B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE2B#FFFFFF#000000##000000
##CDCE2B1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#E1C93A
Tritanopia (blue-blind)
#DCC1B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdce2b;
/* rgb */ color: rgb(205, 206, 43);
/* oklch */ color: oklch(82.4% 0.169 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc74',
    500: '#cdce2b',
    950: '#000000',
  },
}
SCSS
$custom: #cdce2b;
$custom-light: #e0dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce2b",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 60.368,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.82442,
    "c": 0.16936,
    "h": 110
  },
  "luminance": 0.57296
}

Semantic roles & 50–950 ramp

primary
#CDCE2B
secondary
#2B2B73
accent
#3FE840
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CDCE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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