#CDD751#CDD751

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

Color values

HEX#CDD751
RGBrgb(205, 215, 81)
HSLhsl(64, 63%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(4.7%, 0%, 62.3%, 15.7%)
CIE-LABlab(83.01, -20.55, 62.80)
CIE-LCHlch(83.01, 66.07, 108.12°)
OKLaboklab(84.64% -0.0616 0.1429)
OKLCHoklch(84.64% 0.156 113.3)
XYZxyz(50.9638, 62.1751, 17.0993)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD751 #5B51D7
analogous
#D79E51 #CDD751 #8AD751
triadic
#CDD751 #51CDD7 #D751CD
tetradic
#CDD751 #51D79E #5B51D7 #D7518A
square
#CDD751 #51D79E #5B51D7 #D7518A
split-complementary
#CDD751 #518AD7 #9E51D7
monochromatic
#858D20 #B4BF2C #CDD751 #DBE283 #EAEEB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD751#FFFFFF#000000##000000
##CDD7511.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)
#E6CD40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd751;
/* rgb */ color: rgb(205, 215, 81);
/* oklch */ color: oklch(84.6% 0.156 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe388',
    500: '#cdd751',
    950: '#000000',
  },
}
SCSS
$custom: #cdd751;
$custom-light: #dfe388;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd751",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 64.478,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84642,
    "c": 0.15563,
    "h": 113.3
  },
  "luminance": 0.62174
}

Semantic roles & 50–950 ramp

primary
#CDD751
secondary
#403993
accent
#42E64E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD751

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

Preview Lab → · Contrast checker → · Palette generator →

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