#CDD74D#CDD74D

#CDD74D is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.159 H 113.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#CDD74D
RGBrgb(205, 215, 77)
HSLhsl(64, 63%, 57%)
HSVhsv(64, 64%, 84%)
CMYKcmyk(4.7%, 0%, 64.2%, 15.7%)
CIE-LABlab(82.98, -20.80, 64.38)
CIE-LCHlch(82.98, 67.66, 107.91°)
OKLaboklab(84.61% -0.0627 0.1457)
OKLCHoklch(84.61% 0.159 113.3)
XYZxyz(50.8182, 62.1169, 16.3325)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD74D #574DD7
analogous
#D79C4D #CDD74D #88D74D
triadic
#CDD74D #4DCDD7 #D74DCD
tetradic
#CDD74D #4DD79C #574DD7 #D74D88
square
#CDD74D #4DD79C #574DD7 #D74D88
split-complementary
#CDD74D #4D88D7 #9C4DD7
monochromatic
#838A1F #B2BC2A #CDD74D #DBE27F #E9EDB1

Accessibility & contrast

On white

1.56
#CDD74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#CDD74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD74D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD74D#FFFFFF#000000##000000
##CDD74D1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3A
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd74d;
/* rgb */ color: rgb(205, 215, 77);
/* oklch */ color: oklch(84.6% 0.159 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe385',
    500: '#cdd74d',
    950: '#000000',
  },
}
SCSS
$custom: #cdd74d;
$custom-light: #dfe385;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd74d",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 64.348,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84607,
    "c": 0.15862,
    "h": 113.3
  },
  "luminance": 0.62116
}

Semantic roles & 50–950 ramp

primary
#CDD74D
secondary
#3E3890
accent
#41E64D
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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