#CDB754#CDB754

#CDB754 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.122 H 96.9°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CDB754
RGBrgb(205, 183, 84)
HSLhsl(49, 55%, 57%)
HSVhsv(49, 59%, 80%)
CMYKcmyk(0%, 10.7%, 59%, 19.6%)
CIE-LABlab(74.50, -4.15, 52.17)
CIE-LCHlch(74.50, 52.34, 94.54°)
OKLaboklab(77.88% -0.0146 0.1207)
OKLCHoklch(77.88% 0.122 96.9)
XYZxyz(43.7123, 47.4882, 15.2494)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB754 #546ACD
analogous
#CD7B54 #CDB754 #A7CD54
triadic
#CDB754 #54CDB7 #B754CD
tetradic
#CDB754 #54CD7B #546ACD #CD54A7
square
#CDB754 #54CD7B #546ACD #CD54A7
split-complementary
#CDB754 #54A7CD #7B54CD
monochromatic
#817026 #B09A34 #CDB754 #DBCB83 #E9DFB3

Accessibility & contrast

On white

2.00
#CDB754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CDB754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB754
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB754#FFFFFF#000000##000000
##CDB7541.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#CDBA59
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb754;
/* rgb */ color: rgb(205, 183, 84);
/* oklch */ color: oklch(77.9% 0.122 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfcc87',
    500: '#cdb754',
    950: '#000000',
  },
}
SCSS
$custom: #cdb754;
$custom-light: #dfcc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb754",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 49.091,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77879,
    "c": 0.12162,
    "h": 96.9
  },
  "luminance": 0.47486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB754

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

Preview Lab → · Contrast checker → · Palette generator →

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