#CDB261#CDB261

#CDB261 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.106 H 91.4°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CDB261
RGBrgb(205, 178, 97)
HSLhsl(45, 52%, 59%)
HSVhsv(45, 53%, 80%)
CMYKcmyk(0%, 13.2%, 52.7%, 19.6%)
CIE-LABlab(73.34, -0.49, 44.58)
CIE-LCHlch(73.34, 44.59, 90.63°)
OKLaboklab(77.01% -0.0025 0.1057)
OKLCHoklch(77.01% 0.106 91.4)
XYZxyz(43.2565, 45.6850, 17.8466)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB261 #617CCD
analogous
#CD7C61 #CDB261 #B2CD61
triadic
#CDB261 #61CDB2 #B261CD
tetradic
#CDB261 #61CD7C #617CCD #CD61B2
square
#CDB261 #61CD7C #617CCD #CD61B2
split-complementary
#CDB261 #61B2CD #7C61CD
monochromatic
#88712B #B7983A #CDB261 #DCC98F #EADFBE

Accessibility & contrast

On white

2.07
#CDB261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#CDB261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB261
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB261#FFFFFF#000000##000000
##CDB2611.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05A
Deuteranopia (green-blind)
#C8B764
Tritanopia (blue-blind)
#DBA79F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb261;
/* rgb */ color: rgb(205, 178, 97);
/* oklch */ color: oklch(77.0% 0.106 91.4);
Tailwind
colors: {
  custom: {
    50: '#dec890',
    500: '#cdb261',
    950: '#000000',
  },
}
SCSS
$custom: #cdb261;
$custom-light: #dec890;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb261",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 45,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77009,
    "c": 0.10571,
    "h": 91.4
  },
  "luminance": 0.45683
}

Semantic roles & 50–950 ramp

primary
#CDB261
secondary
#B0BADA
accent
#70DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CDB261

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

Preview Lab → · Contrast checker → · Palette generator →

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