#CDD148#CDD148

#CDD148 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.156 H 111.0°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CDD148
RGBrgb(205, 209, 72)
HSLhsl(62, 60%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(1.9%, 0%, 65.6%, 18%)
CIE-LABlab(81.32, -18.15, 64.64)
CIE-LCHlch(81.32, 67.14, 105.69°)
OKLaboklab(83.27% -0.0557 0.1455)
OKLCHoklch(83.27% 0.156 111)
XYZxyz(49.1485, 59.0492, 14.9383)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD148 #4C48D1
analogous
#D19148 #CDD148 #88D148
triadic
#CDD148 #48CDD1 #D148CD
tetradic
#CDD148 #48D191 #4C48D1 #D14888
square
#CDD148 #48D191 #4C48D1 #D14888
split-complementary
#CDD148 #4888D1 #9148D1
monochromatic
#7C7F20 #ACB02C #CDD148 #DADD79 #E8EAAA

Accessibility & contrast

On white

1.64
#CDD148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#CDD148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD148
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD148#FFFFFF#000000##000000
##CDD1481.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C835
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#DBC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd148;
/* rgb */ color: rgb(205, 209, 72);
/* oklch */ color: oklch(83.3% 0.156 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde82',
    500: '#cdd148',
    950: '#000000',
  },
}
SCSS
$custom: #cdd148;
$custom-light: #dfde82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd148",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 61.752,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8327,
    "c": 0.15581,
    "h": 111
  },
  "luminance": 0.59048
}

Semantic roles & 50–950 ramp

primary
#CDD148
secondary
#393786
accent
#45E349
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD148

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

Preview Lab → · Contrast checker → · Palette generator →

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