#CDCD3F#CDCD3F

#CDCD3F is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.158 H 109.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CDCD3F
RGBrgb(205, 205, 63)
HSLhsl(60, 59%, 53%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0%, 0%, 69.3%, 19.6%)
CIE-LABlab(80.18, -16.66, 66.89)
CIE-LCHlch(80.18, 68.94, 103.98°)
OKLaboklab(82.34% -0.0524 0.1488)
OKLCHoklch(82.34% 0.158 109.4)
XYZxyz(47.9070, 57.0021, 13.1806)
Luminance0.5700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD3F #3F3FCD
analogous
#CD863F #CDCD3F #86CD3F
triadic
#CDCD3F #3FCDCD #CD3FCD
tetradic
#CDCD3F #3FCD86 #3F3FCD #CD3F86
square
#CDCD3F #3FCD86 #3F3FCD #CD3F86
split-complementary
#CDCD3F #3F86CD #863FCD
monochromatic
#74741E #A4A42B #CDCD3F #DADA70 #E6E6A0

Accessibility & contrast

On white

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

On black

12.40
#CDCD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD3F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD3F#FFFFFF#000000##000000
##CDCD3F1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC427
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#DBC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd3f;
/* rgb */ color: rgb(205, 205, 63);
/* oklch */ color: oklch(82.3% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#e0dc7d',
    500: '#cdcd3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd3f;
$custom-light: #e0dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd3f",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82342,
    "c": 0.15775,
    "h": 109.4
  },
  "luminance": 0.57001
}

Semantic roles & 50–950 ramp

primary
#CDCD3F
secondary
#34347C
accent
#46E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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