#CDD762#CDD762

#CDD762 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.141 H 113.5°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#CDD762
RGBrgb(205, 215, 98)
HSLhsl(65, 59%, 61%)
HSVhsv(65, 54%, 84%)
CMYKcmyk(4.7%, 0%, 54.4%, 15.7%)
CIE-LABlab(83.16, -19.30, 55.62)
CIE-LCHlch(83.16, 58.87, 109.14°)
OKLaboklab(84.81% -0.0563 0.1297)
OKLCHoklch(84.81% 0.141 113.5)
XYZxyz(51.6829, 62.4628, 20.8868)
Luminance0.6246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD762 #6C62D7
analogous
#D7A762 #CDD762 #93D762
triadic
#CDD762 #62CDD7 #D762CD
tetradic
#CDD762 #62D7A7 #6C62D7 #D76293
square
#CDD762 #62D7A7 #6C62D7 #D76293
split-complementary
#CDD762 #6293D7 #A762D7
monochromatic
#8E9827 #BCC933 #CDD762 #DDE393 #ECF0C4

Accessibility & contrast

On white

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

On black

13.49
#CDD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD762
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD762#FFFFFF#000000##000000
##CDD7621.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E5D069
Tritanopia (blue-blind)
#D9CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd762;
/* rgb */ color: rgb(205, 215, 98);
/* oklch */ color: oklch(84.8% 0.141 113.5);
Tailwind
colors: {
  custom: {
    50: '#dee392',
    500: '#cdd762',
    950: '#000000',
  },
}
SCSS
$custom: #cdd762;
$custom-light: #dee392;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd762",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 65.128,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84813,
    "c": 0.14143,
    "h": 113.5
  },
  "luminance": 0.62462
}

Semantic roles & 50–950 ramp

primary
#CDD762
secondary
#48419D
accent
#1EC72D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD762

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

Preview Lab → · Contrast checker → · Palette generator →

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