#CDD74F#CDD74F

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

Color values

HEX#CDD74F
RGBrgb(205, 215, 79)
HSLhsl(64, 63%, 58%)
HSVhsv(64, 63%, 84%)
CMYKcmyk(4.7%, 0%, 63.3%, 15.7%)
CIE-LABlab(82.99, -20.68, 63.59)
CIE-LCHlch(82.99, 66.87, 108.01°)
OKLaboklab(84.62% -0.0621 0.1443)
OKLCHoklch(84.62% 0.157 113.3)
XYZxyz(50.8899, 62.1455, 16.7101)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD74F #594FD7
analogous
#D79D4F #CDD74F #89D74F
triadic
#CDD74F #4FCDD7 #D74FCD
tetradic
#CDD74F #4FD79D #594FD7 #D74F89
square
#CDD74F #4FD79D #594FD7 #D74F89
split-complementary
#CDD74F #4F89D7 #9D4FD7
monochromatic
#848C20 #B3BE2B #CDD74F #DBE281 #E9EEB3

Accessibility & contrast

On white

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

On black

13.43
#CDD74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD74F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD74F#FFFFFF#000000##000000
##CDD74F1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd74f;
/* rgb */ color: rgb(205, 215, 79);
/* oklch */ color: oklch(84.6% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe387',
    500: '#cdd74f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd74f;
$custom-light: #dfe387;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd74f",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 64.412,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84624,
    "c": 0.15714,
    "h": 113.3
  },
  "luminance": 0.62145
}

Semantic roles & 50–950 ramp

primary
#CDD74F
secondary
#3F3992
accent
#42E64E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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