#CDB757#CDB757

#CDB757 is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.119 H 96.6°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CDB757
RGBrgb(205, 183, 87)
HSLhsl(49, 54%, 57%)
HSVhsv(49, 58%, 80%)
CMYKcmyk(0%, 10.7%, 57.6%, 19.6%)
CIE-LABlab(74.53, -3.92, 50.81)
CIE-LCHlch(74.53, 50.96, 94.42°)
OKLaboklab(77.91% -0.0136 0.1182)
OKLCHoklch(77.91% 0.119 96.6)
XYZxyz(43.8323, 47.5362, 15.8816)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB757 #576DCD
analogous
#CD7C57 #CDB757 #A8CD57
triadic
#CDB757 #57CDB7 #B757CD
tetradic
#CDB757 #57CD7C #576DCD #CD57A8
square
#CDB757 #57CD7C #576DCD #CD57A8
split-complementary
#CDB757 #57A8CD #7C57CD
monochromatic
#837227 #B29B35 #CDB757 #DBCB86 #E9DFB5

Accessibility & contrast

On white

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

On black

10.51
#CDB757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB757
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB757#FFFFFF#000000##000000
##CDB7571.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#CDBA5B
Tritanopia (blue-blind)
#DCABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb757;
/* rgb */ color: rgb(205, 183, 87);
/* oklch */ color: oklch(77.9% 0.119 96.6);
Tailwind
colors: {
  custom: {
    50: '#dfcc89',
    500: '#cdb757',
    950: '#000000',
  },
}
SCSS
$custom: #cdb757;
$custom-light: #dfcc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb757",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 48.814,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77913,
    "c": 0.11896,
    "h": 96.6
  },
  "luminance": 0.47534
}

Semantic roles & 50–950 ramp

primary
#CDB757
secondary
#A8B1D8
accent
#66DD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB757

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

Preview Lab → · Contrast checker → · Palette generator →

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