#CDC273#CDC273

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

Color values

HEX#CDC273
RGBrgb(205, 194, 115)
HSLhsl(53, 47%, 63%)
HSVhsv(53, 44%, 80%)
CMYKcmyk(0%, 5.4%, 43.9%, 19.6%)
CIE-LABlab(77.76, -7.17, 41.00)
CIE-LCHlch(77.76, 41.62, 99.91°)
OKLaboklab(80.58% -0.02 0.0991)
OKLCHoklch(80.58% 0.101 101.4)
XYZxyz(47.5642, 52.8020, 23.9026)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC273 #737ECD
analogous
#CD9573 #CDC273 #ABCD73
triadic
#CDC273 #73CDC2 #C273CD
tetradic
#CDC273 #73CD95 #737ECD #CD73AB
square
#CDC273 #73CD95 #737ECD #CD73AB
split-complementary
#CDC273 #73ABCD #9573CD
monochromatic
#928634 #BDAE46 #CDC273 #DDD6A0 #EDE9CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC273#FFFFFF#000000##000000
##CDC2731.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)
#CFBD6D
Deuteranopia (green-blind)
#D3C276
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc273;
/* rgb */ color: rgb(205, 194, 115);
/* oklch */ color: oklch(80.6% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#ded49c',
    500: '#cdc273',
    950: '#000000',
  },
}
SCSS
$custom: #cdc273;
$custom-light: #ded49c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc273",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 115
  },
  "hsl": {
    "h": 52.667,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80578,
    "c": 0.10107,
    "h": 101.4
  },
  "luminance": 0.52801
}

Semantic roles & 50–950 ramp

primary
#CDC273
secondary
#4C5698
accent
#3CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC273

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

Preview Lab → · Contrast checker → · Palette generator →

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