#CDCE3E#CDCE3E

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

Color values

HEX#CDCE3E
RGBrgb(205, 206, 62)
HSLhsl(60, 60%, 53%)
HSVhsv(60, 70%, 81%)
CMYKcmyk(0.5%, 0%, 69.9%, 19.2%)
CIE-LABlab(80.44, -17.20, 67.51)
CIE-LCHlch(80.44, 69.67, 104.30°)
OKLaboklab(82.55% -0.0541 0.1499)
OKLCHoklch(82.55% 0.159 109.8)
XYZxyz(48.1193, 57.4709, 13.1147)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE3E #3F3ECE
analogous
#CE873E #CDCE3E #85CE3E
triadic
#CDCE3E #3ECDCE #CE3ECD
tetradic
#CDCE3E #3ECE87 #3F3ECE #CE3E85
square
#CDCE3E #3ECE87 #3F3ECE #CE3E85
split-complementary
#CDCE3E #3E85CE #873ECE
monochromatic
#74741D #A4A52A #CDCE3E #DADA6F #E6E7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCE3E#FFFFFF#000000##000000
##CDCE3E1.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)
#DEC525
Deuteranopia (green-blind)
#E0CA49
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce3e;
/* rgb */ color: rgb(205, 206, 62);
/* oklch */ color: oklch(82.5% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#e0dc7c',
    500: '#cdce3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdce3e;
$custom-light: #e0dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce3e",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 62
  },
  "hsl": {
    "h": 60.417,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8255,
    "c": 0.15937,
    "h": 109.8
  },
  "luminance": 0.5747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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