#CDB651#CDB651

#CDB651 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.123 H 96.6°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CDB651
RGBrgb(205, 182, 81)
HSLhsl(49, 55%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 11.2%, 60.5%, 19.6%)
CIE-LABlab(74.21, -3.84, 53.22)
CIE-LCHlch(74.21, 53.36, 94.12°)
OKLaboklab(77.64% -0.0141 0.1226)
OKLCHoklch(77.64% 0.123 96.6)
XYZxyz(43.3918, 47.0311, 14.5753)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB651 #5168CD
analogous
#CD7851 #CDB651 #A6CD51
triadic
#CDB651 #51CDB6 #B651CD
tetradic
#CDB651 #51CD78 #5168CD #CD51A6
square
#CDB651 #51CD78 #5168CD #CD51A6
split-complementary
#CDB651 #51A6CD #7851CD
monochromatic
#7F6E25 #AF9832 #CDB651 #DBCA81 #E8DEB0

Accessibility & contrast

On white

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

On black

10.41
#CDB651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB651
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB651#FFFFFF#000000##000000
##CDB6511.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B246
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb651;
/* rgb */ color: rgb(205, 182, 81);
/* oklch */ color: oklch(77.6% 0.123 96.6);
Tailwind
colors: {
  custom: {
    50: '#dfcb86',
    500: '#cdb651',
    950: '#000000',
  },
}
SCSS
$custom: #cdb651;
$custom-light: #dfcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb651",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 48.871,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77639,
    "c": 0.12342,
    "h": 96.6
  },
  "luminance": 0.47029
}

Semantic roles & 50–950 ramp

primary
#CDB651
secondary
#A3ADD7
accent
#65DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB651

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

Preview Lab → · Contrast checker → · Palette generator →

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