#CDD274#CDD274

#CDD274 is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.118 H 111.4°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#CDD274
RGBrgb(205, 210, 116)
HSLhsl(63, 51%, 64%)
HSVhsv(63, 45%, 82%)
CMYKcmyk(2.4%, 0%, 44.8%, 17.6%)
CIE-LABlab(82.02, -15.20, 45.79)
CIE-LCHlch(82.02, 48.24, 108.36°)
OKLaboklab(83.97% -0.0429 0.1098)
OKLCHoklch(83.97% 0.118 111.4)
XYZxyz(51.3766, 60.3342, 25.4588)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD274 #7974D2
analogous
#D2A874 #CDD274 #9ED274
triadic
#CDD274 #74CDD2 #D274CD
tetradic
#CDD274 #74D2A8 #7974D2 #D2749E
square
#CDD274 #74D2A8 #7974D2 #D2749E
split-complementary
#CDD274 #749ED2 #A874D2
monochromatic
#949A32 #BCC346 #CDD274 #DEE1A2 #EEF0D0

Accessibility & contrast

On white

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

On black

13.07
#CDD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD274
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD274#FFFFFF#000000##000000
##CDD2741.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6C
Deuteranopia (green-blind)
#DFCD79
Tritanopia (blue-blind)
#D8C8BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd274;
/* rgb */ color: rgb(205, 210, 116);
/* oklch */ color: oklch(84.0% 0.118 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedf9e',
    500: '#cdd274',
    950: '#000000',
  },
}
SCSS
$custom: #cdd274;
$custom-light: #dedf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd274",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 63.191,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83969,
    "c": 0.11793,
    "h": 111.4
  },
  "luminance": 0.60333
}

Semantic roles & 50–950 ramp

primary
#CDD274
secondary
#504B9F
accent
#27BE2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD274

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

Preview Lab → · Contrast checker → · Palette generator →

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