#CDB652#CDB652

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

Color values

HEX#CDB652
RGBrgb(205, 182, 82)
HSLhsl(49, 55%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 11.2%, 60%, 19.6%)
CIE-LABlab(74.22, -3.77, 52.78)
CIE-LCHlch(74.22, 52.91, 94.08°)
OKLaboklab(77.65% -0.0138 0.1218)
OKLCHoklch(77.65% 0.123 96.4)
XYZxyz(43.4296, 47.0462, 14.7742)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB652 #5269CD
analogous
#CD7952 #CDB652 #A7CD52
triadic
#CDB652 #52CDB6 #B652CD
tetradic
#CDB652 #52CD79 #5269CD #CD52A7
square
#CDB652 #52CD79 #5269CD #CD52A7
split-complementary
#CDB652 #52A7CD #7952CD
monochromatic
#806F25 #AF9833 #CDB652 #DBCA81 #E8DEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB652#FFFFFF#000000##000000
##CDB6521.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)
#C7B247
Deuteranopia (green-blind)
#CDBA57
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb652;
/* rgb */ color: rgb(205, 182, 82);
/* oklch */ color: oklch(77.6% 0.123 96.4);
Tailwind
colors: {
  custom: {
    50: '#dfcb86',
    500: '#cdb652',
    950: '#000000',
  },
}
SCSS
$custom: #cdb652;
$custom-light: #dfcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb652",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 48.78,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7765,
    "c": 0.12255,
    "h": 96.4
  },
  "luminance": 0.47044
}

Semantic roles & 50–950 ramp

primary
#CDB652
secondary
#A4AED7
accent
#65DE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB652

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

Preview Lab → · Contrast checker → · Palette generator →

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