#CDD34F#CDD34F

#CDD34F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.153 H 111.7°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CDD34F
RGBrgb(205, 211, 79)
HSLhsl(63, 60%, 57%)
HSVhsv(63, 63%, 83%)
CMYKcmyk(2.8%, 0%, 62.6%, 17.3%)
CIE-LABlab(81.91, -18.71, 62.45)
CIE-LCHlch(81.91, 65.20, 106.68°)
OKLaboklab(83.76% -0.0566 0.1419)
OKLCHoklch(83.76% 0.153 111.7)
XYZxyz(49.8838, 60.1333, 16.3747)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD34F #554FD3
analogous
#D3974F #CDD34F #8BD34F
triadic
#CDD34F #4FCDD3 #D34FCD
tetradic
#CDD34F #4FD397 #554FD3 #D34F8B
square
#CDD34F #4FD397 #554FD3 #D34F8B
split-complementary
#CDD34F #4F8BD3 #974FD3
monochromatic
#828622 #B1B72E #CDD34F #DBDF80 #E9EBB1

Accessibility & contrast

On white

1.61
#CDD34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#CDD34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD34F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD34F#FFFFFF#000000##000000
##CDD34F1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3E
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#DAC7B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd34f;
/* rgb */ color: rgb(205, 211, 79);
/* oklch */ color: oklch(83.8% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#dfe086',
    500: '#cdd34f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd34f;
$custom-light: #dfe086;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd34f",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 62.727,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8376,
    "c": 0.15281,
    "h": 111.7
  },
  "luminance": 0.60132
}

Semantic roles & 50–950 ramp

primary
#CDD34F
secondary
#3D398D
accent
#45E34C
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD34F

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

Preview Lab → · Contrast checker → · Palette generator →

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