#CDCE3F#CDCE3F

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

Color values

HEX#CDCE3F
RGBrgb(205, 206, 63)
HSLhsl(60, 59%, 53%)
HSVhsv(60, 69%, 81%)
CMYKcmyk(0.5%, 0%, 69.4%, 19.2%)
CIE-LABlab(80.45, -17.15, 67.16)
CIE-LCHlch(80.45, 69.31, 104.33°)
OKLaboklab(82.56% -0.0538 0.1493)
OKLCHoklch(82.56% 0.159 109.8)
XYZxyz(48.1470, 57.4820, 13.2606)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE3F #403FCE
analogous
#CE883F #CDCE3F #85CE3F
triadic
#CDCE3F #3FCDCE #CE3FCD
tetradic
#CDCE3F #3FCE88 #403FCE #CE3F85
square
#CDCE3F #3FCE88 #403FCE #CE3F85
split-complementary
#CDCE3F #3F85CE #883FCE
monochromatic
#74751E #A5A62A #CDCE3F #DADA70 #E6E7A1

Accessibility & contrast

On white

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

On black

12.50
#CDCE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE3F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE3F#FFFFFF#000000##000000
##CDCE3F1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdce3f;
/* rgb */ color: rgb(205, 206, 63);
/* oklch */ color: oklch(82.6% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#e0dc7d',
    500: '#cdce3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdce3f;
$custom-light: #e0dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce3f",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 63
  },
  "hsl": {
    "h": 60.42,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82557,
    "c": 0.15875,
    "h": 109.8
  },
  "luminance": 0.57481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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