#CDB648#CDB648

#CDB648 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.131 H 97.4°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CDB648
RGBrgb(205, 182, 72)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 65%, 80%)
CMYKcmyk(0%, 11.2%, 64.9%, 19.6%)
CIE-LABlab(74.13, -4.42, 57.13)
CIE-LCHlch(74.13, 57.30, 94.43°)
OKLaboklab(77.55% -0.0168 0.1296)
OKLCHoklch(77.55% 0.131 97.4)
XYZxyz(43.0764, 46.9050, 12.9142)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB648 #485FCD
analogous
#CD7448 #CDB648 #A2CD48
triadic
#CDB648 #48CDB6 #B648CD
tetradic
#CDB648 #48CD74 #485FCD #CD48A2
square
#CDB648 #48CD74 #485FCD #CD48A2
split-complementary
#CDB648 #48A2CD #7448CD
monochromatic
#796A21 #A9942E #CDB648 #DAC978 #E7DCA8

Accessibility & contrast

On white

2.02
#CDB648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CDB648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB648
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB648#FFFFFF#000000##000000
##CDB6481.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23B
Deuteranopia (green-blind)
#CDBA4E
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb648;
/* rgb */ color: rgb(205, 182, 72);
/* oklch */ color: oklch(77.5% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#e0cb80',
    500: '#cdb648',
    950: '#000000',
  },
}
SCSS
$custom: #cdb648;
$custom-light: #e0cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb648",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 49.624,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7755,
    "c": 0.13072,
    "h": 97.4
  },
  "luminance": 0.46903
}

Semantic roles & 50–950 ramp

primary
#CDB648
secondary
#9CA6D5
accent
#62E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB648

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

Preview Lab → · Contrast checker → · Palette generator →

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