#CDD74B#CDD74B

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

Color values

HEX#CDD74B
RGBrgb(205, 215, 75)
HSLhsl(64, 64%, 57%)
HSVhsv(64, 65%, 84%)
CMYKcmyk(4.7%, 0%, 65.1%, 15.7%)
CIE-LABlab(82.96, -20.92, 65.16)
CIE-LCHlch(82.96, 68.43, 107.80°)
OKLaboklab(84.59% -0.0632 0.147)
OKLCHoklch(84.59% 0.16 113.3)
XYZxyz(50.7487, 62.0890, 15.9663)
Luminance0.6209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD74B #554BD7
analogous
#D79B4B #CDD74B #87D74B
triadic
#CDD74B #4BCDD7 #D74BCD
tetradic
#CDD74B #4BD79B #554BD7 #D74B87
square
#CDD74B #4BD79B #554BD7 #D74B87
split-complementary
#CDD74B #4B87D7 #9B4BD7
monochromatic
#82891E #B1BB2A #CDD74B #DBE27D #E9EDAF

Accessibility & contrast

On white

1.57
#CDD74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#CDD74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD74B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD74B#FFFFFF#000000##000000
##CDD74B1.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd74b;
/* rgb */ color: rgb(205, 215, 75);
/* oklch */ color: oklch(84.6% 0.160 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe384',
    500: '#cdd74b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd74b;
$custom-light: #dfe384;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd74b",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 64.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84591,
    "c": 0.16005,
    "h": 113.3
  },
  "luminance": 0.62088
}

Semantic roles & 50–950 ramp

primary
#CDD74B
secondary
#3D378F
accent
#41E74D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD74B

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

Preview Lab → · Contrast checker → · Palette generator →

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