#CDCE3D#CDCE3D

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

Color values

HEX#CDCE3D
RGBrgb(205, 206, 61)
HSLhsl(60, 60%, 52%)
HSVhsv(60, 70%, 81%)
CMYKcmyk(0.5%, 0%, 70.4%, 19.2%)
CIE-LABlab(80.44, -17.25, 67.86)
CIE-LCHlch(80.44, 70.02, 104.26°)
OKLaboklab(82.54% -0.0543 0.1505)
OKLCHoklch(82.54% 0.16 109.8)
XYZxyz(48.0921, 57.4601, 12.9715)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE3D #3E3DCE
analogous
#CE873D #CDCE3D #84CE3D
triadic
#CDCE3D #3DCDCE #CE3DCD
tetradic
#CDCE3D #3DCE87 #3E3DCE #CE3D84
square
#CDCE3D #3DCE87 #3E3DCE #CE3D84
split-complementary
#CDCE3D #3D84CE #873DCE
monochromatic
#73731D #A3A429 #CDCE3D #DADA6E #E6E79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCE3D#FFFFFF#000000##000000
##CDCE3D1.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)
#DEC523
Deuteranopia (green-blind)
#E0CA48
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce3d;
/* rgb */ color: rgb(205, 206, 61);
/* oklch */ color: oklch(82.5% 0.160 109.8);
Tailwind
colors: {
  custom: {
    50: '#e0dc7c',
    500: '#cdce3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdce3d;
$custom-light: #e0dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce3d",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 61
  },
  "hsl": {
    "h": 60.414,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82543,
    "c": 0.15999,
    "h": 109.8
  },
  "luminance": 0.57459
}

Semantic roles & 50–950 ramp

primary
#CDCE3D
secondary
#34337C
accent
#45E346
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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