#CDC274#CDC274

#CDC274 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.100 H 101.3°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CDC274
RGBrgb(205, 194, 116)
HSLhsl(53, 47%, 63%)
HSVhsv(53, 43%, 80%)
CMYKcmyk(0%, 5.4%, 43.4%, 19.6%)
CIE-LABlab(77.77, -7.06, 40.52)
CIE-LCHlch(77.77, 41.13, 99.89°)
OKLaboklab(80.59% -0.0196 0.098)
OKLCHoklch(80.59% 0.1 101.3)
XYZxyz(47.6221, 52.8251, 24.2073)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC274 #747FCD
analogous
#CD9574 #CDC274 #ACCD74
triadic
#CDC274 #74CDC2 #C274CD
tetradic
#CDC274 #74CD95 #747FCD #CD74AC
square
#CDC274 #74CD95 #747FCD #CD74AC
split-complementary
#CDC274 #74ACCD #9574CD
monochromatic
#928735 #BDAE47 #CDC274 #DDD6A1 #EDEACE

Accessibility & contrast

On white

1.82
#CDC274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CDC274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC274
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC274#FFFFFF#000000##000000
##CDC2741.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6E
Deuteranopia (green-blind)
#D3C277
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc274;
/* rgb */ color: rgb(205, 194, 116);
/* oklch */ color: oklch(80.6% 0.100 101.3);
Tailwind
colors: {
  custom: {
    50: '#ded49d',
    500: '#cdc274',
    950: '#000000',
  },
}
SCSS
$custom: #cdc274;
$custom-light: #ded49d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc274",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 116
  },
  "hsl": {
    "h": 52.584,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80593,
    "c": 0.09998,
    "h": 101.3
  },
  "luminance": 0.52824
}

Semantic roles & 50–950 ramp

primary
#CDC274
secondary
#4D5698
accent
#3DBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC274

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

Preview Lab → · Contrast checker → · Palette generator →

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