#CDB758#CDB758

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

Color values

HEX#CDB758
RGBrgb(205, 183, 88)
HSLhsl(49, 54%, 57%)
HSVhsv(49, 57%, 80%)
CMYKcmyk(0%, 10.7%, 57.1%, 19.6%)
CIE-LABlab(74.54, -3.85, 50.35)
CIE-LCHlch(74.54, 50.50, 94.37°)
OKLaboklab(77.93% -0.0133 0.1173)
OKLCHoklch(77.93% 0.118 96.5)
XYZxyz(43.8735, 47.5526, 16.0982)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB758 #586ECD
analogous
#CD7D58 #CDB758 #A8CD58
triadic
#CDB758 #58CDB7 #B758CD
tetradic
#CDB758 #58CD7D #586ECD #CD58A8
square
#CDB758 #58CD7D #586ECD #CD58A8
split-complementary
#CDB758 #58A8CD #7D58CD
monochromatic
#837227 #B29B35 #CDB758 #DBCB87 #E9E0B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB758#FFFFFF#000000##000000
##CDB7581.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)
#C7B34F
Deuteranopia (green-blind)
#CDBB5C
Tritanopia (blue-blind)
#DCABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb758;
/* rgb */ color: rgb(205, 183, 88);
/* oklch */ color: oklch(77.9% 0.118 96.5);
Tailwind
colors: {
  custom: {
    50: '#dfcc8a',
    500: '#cdb758',
    950: '#000000',
  },
}
SCSS
$custom: #cdb758;
$custom-light: #dfcc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb758",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 48.718,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77925,
    "c": 0.11805,
    "h": 96.5
  },
  "luminance": 0.47551
}

Semantic roles & 50–950 ramp

primary
#CDB758
secondary
#A9B2D8
accent
#66DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB758

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

Preview Lab → · Contrast checker → · Palette generator →

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