#CDC261#CDC261

#CDC261 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.120 H 102.9°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CDC261
RGBrgb(205, 194, 97)
HSLhsl(54, 52%, 59%)
HSVhsv(54, 53%, 80%)
CMYKcmyk(0%, 5.4%, 52.7%, 19.6%)
CIE-LABlab(77.54, -8.83, 49.56)
CIE-LCHlch(77.54, 50.34, 100.10°)
OKLaboklab(80.33% -0.0266 0.1166)
OKLCHoklch(80.33% 0.12 102.9)
XYZxyz(46.6277, 52.4273, 18.9703)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC261 #616CCD
analogous
#CD8C61 #CDC261 #A2CD61
triadic
#CDC261 #61CDC2 #C261CD
tetradic
#CDC261 #61CD8C #616CCD #CD61A2
square
#CDC261 #61CD8C #616CCD #CD61A2
split-complementary
#CDC261 #61A2CD #8C61CD
monochromatic
#887F2B #B7AA3A #CDC261 #DCD48F #EAE6BE

Accessibility & contrast

On white

1.83
#CDC261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CDC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC261
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC261#FFFFFF#000000##000000
##CDC2611.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD58
Deuteranopia (green-blind)
#D4C266
Tritanopia (blue-blind)
#DAB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc261;
/* rgb */ color: rgb(205, 194, 97);
/* oklch */ color: oklch(80.3% 0.120 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded490',
    500: '#cdc261',
    950: '#000000',
  },
}
SCSS
$custom: #cdc261;
$custom-light: #ded490;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc261",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 53.889,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80329,
    "c": 0.11956,
    "h": 102.9
  },
  "luminance": 0.52426
}

Semantic roles & 50–950 ramp

primary
#CDC261
secondary
#434B8F
accent
#5BDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC261

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

Preview Lab → · Contrast checker → · Palette generator →

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