#CDB654#CDB654

#CDB654 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.121 H 96.2°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CDB654
RGBrgb(205, 182, 84)
HSLhsl(49, 55%, 57%)
HSVhsv(49, 59%, 80%)
CMYKcmyk(0%, 11.2%, 59%, 19.6%)
CIE-LABlab(74.24, -3.62, 51.88)
CIE-LCHlch(74.24, 52.00, 93.99°)
OKLaboklab(77.67% -0.0131 0.1201)
OKLCHoklch(77.67% 0.121 96.2)
XYZxyz(43.5068, 47.0771, 15.1809)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB654 #546BCD
analogous
#CD7A54 #CDB654 #A8CD54
triadic
#CDB654 #54CDB6 #B654CD
tetradic
#CDB654 #54CD7A #546BCD #CD54A8
square
#CDB654 #54CD7A #546BCD #CD54A8
split-complementary
#CDB654 #54A8CD #7A54CD
monochromatic
#817026 #B09934 #CDB654 #DBCA83 #E9DEB3

Accessibility & contrast

On white

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

On black

10.42
#CDB654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB654
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB654#FFFFFF#000000##000000
##CDB6541.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24A
Deuteranopia (green-blind)
#CCBA59
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb654;
/* rgb */ color: rgb(205, 182, 84);
/* oklch */ color: oklch(77.7% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#dfcb87',
    500: '#cdb654',
    950: '#000000',
  },
}
SCSS
$custom: #cdb654;
$custom-light: #dfcb87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb654",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 48.595,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77672,
    "c": 0.12082,
    "h": 96.2
  },
  "luminance": 0.47075
}

Semantic roles & 50–950 ramp

primary
#CDB654
secondary
#A6AFD7
accent
#66DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB654

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

Preview Lab → · Contrast checker → · Palette generator →

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