#CDDA38#CDDA38

#CDDA38 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.1% C 0.175 H 114.2°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#CDDA38
RGBrgb(205, 218, 56)
HSLhsl(65, 69%, 54%)
HSVhsv(65, 74%, 85%)
CMYKcmyk(6%, 0%, 74.3%, 14.5%)
CIE-LABlab(83.66, -23.35, 72.60)
CIE-LCHlch(83.66, 76.26, 107.83°)
OKLaboklab(85.11% -0.0717 0.1596)
OKLCHoklch(85.11% 0.175 114.2)
XYZxyz(50.9636, 63.4085, 13.2950)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA38 #4538DA
analogous
#DA9638 #CDDA38 #7CDA38
triadic
#CDDA38 #38CDDA #DA38CD
tetradic
#CDDA38 #38DA96 #4538DA #DA387C
square
#CDDA38 #38DA96 #4538DA #DA387C
split-complementary
#CDDA38 #387CDA #9638DA
monochromatic
#778018 #A8B321 #CDDA38 #DAE46C #E7ED9F

Accessibility & contrast

On white

1.53
#CDDA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#CDDA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA38
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA38#FFFFFF#000000##000000
##CDDA381.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF11
Deuteranopia (green-blind)
#E9D246
Tritanopia (blue-blind)
#DBCDBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdda38;
/* rgb */ color: rgb(205, 218, 56);
/* oklch */ color: oklch(85.1% 0.175 114.2);
Tailwind
colors: {
  custom: {
    50: '#e0e57b',
    500: '#cdda38',
    950: '#000000',
  },
}
SCSS
$custom: #cdda38;
$custom-light: #e0e57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda38",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 56
  },
  "hsl": {
    "h": 64.815,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.85111,
    "c": 0.17502,
    "h": 114.2
  },
  "luminance": 0.63407
}

Semantic roles & 50–950 ramp

primary
#CDDA38
secondary
#362F87
accent
#3CEB4A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDDA38

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

Preview Lab → · Contrast checker → · Palette generator →

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