#CDCE3B#CDCE3B

#CDCE3B is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.161 H 109.9°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCE3B
RGBrgb(205, 206, 59)
HSLhsl(60, 60%, 52%)
HSVhsv(60, 71%, 81%)
CMYKcmyk(0.5%, 0%, 71.4%, 19.2%)
CIE-LABlab(80.43, -17.35, 68.55)
CIE-LCHlch(80.43, 70.71, 104.20°)
OKLaboklab(82.53% -0.0547 0.1516)
OKLCHoklch(82.53% 0.161 109.9)
XYZxyz(48.0393, 57.4389, 12.6931)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE3B #3C3BCE
analogous
#CE863B #CDCE3B #84CE3B
triadic
#CDCE3B #3BCDCE #CE3BCD
tetradic
#CDCE3B #3BCE86 #3C3BCE #CE3B84
square
#CDCE3B #3BCE86 #3C3BCE #CE3B84
split-complementary
#CDCE3B #3B84CE #863BCE
monochromatic
#71721D #A2A329 #CDCE3B #D9DA6C #E6E69D

Accessibility & contrast

On white

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

On black

12.49
#CDCE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE3B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE3B#FFFFFF#000000##000000
##CDCE3B1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51F
Deuteranopia (green-blind)
#E0CA46
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce3b;
/* rgb */ color: rgb(205, 206, 59);
/* oklch */ color: oklch(82.5% 0.161 109.9);
Tailwind
colors: {
  custom: {
    50: '#e0dc7b',
    500: '#cdce3b',
    950: '#000000',
  },
}
SCSS
$custom: #cdce3b;
$custom-light: #e0dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce3b",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 60.408,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8253,
    "c": 0.16118,
    "h": 109.9
  },
  "luminance": 0.57438
}

Semantic roles & 50–950 ramp

primary
#CDCE3B
secondary
#33327B
accent
#45E346
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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