#CDB358#CDB358

#CDB358 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.115 H 93.6°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CDB358
RGBrgb(205, 179, 88)
HSLhsl(47, 54%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.7%, 57.1%, 19.6%)
CIE-LABlab(73.50, -1.75, 49.15)
CIE-LCHlch(73.50, 49.18, 92.04°)
OKLaboklab(77.1% -0.0072 0.1147)
OKLCHoklch(77.1% 0.115 93.6)
XYZxyz(43.0601, 45.9260, 15.8271)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB358 #5872CD
analogous
#CD7958 #CDB358 #ACCD58
triadic
#CDB358 #58CDB3 #B358CD
tetradic
#CDB358 #58CD79 #5872CD #CD58AC
square
#CDB358 #58CD79 #5872CD #CD58AC
split-complementary
#CDB358 #58ACCD #7958CD
monochromatic
#836F27 #B29735 #CDB358 #DBC887 #E9DEB6

Accessibility & contrast

On white

2.06
#CDB358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CDB358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB358
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB358#FFFFFF#000000##000000
##CDB3581.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DCA79E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb358;
/* rgb */ color: rgb(205, 179, 88);
/* oklch */ color: oklch(77.1% 0.115 93.6);
Tailwind
colors: {
  custom: {
    50: '#dfc98a',
    500: '#cdb358',
    950: '#000000',
  },
}
SCSS
$custom: #cdb358;
$custom-light: #dfc98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb358",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 88
  },
  "hsl": {
    "h": 46.667,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77099,
    "c": 0.11494,
    "h": 93.6
  },
  "luminance": 0.45924
}

Semantic roles & 50–950 ramp

primary
#CDB358
secondary
#A9B3D8
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB358

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

Preview Lab → · Contrast checker → · Palette generator →

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