#CDBD58#CDBD58

#CDBD58 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.123 H 100.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CDBD58
RGBrgb(205, 189, 88)
HSLhsl(52, 54%, 57%)
HSVhsv(52, 57%, 80%)
CMYKcmyk(0%, 7.8%, 57.1%, 19.6%)
CIE-LABlab(76.12, -6.97, 52.16)
CIE-LCHlch(76.12, 52.62, 97.61°)
OKLaboklab(79.17% -0.0223 0.1212)
OKLCHoklch(79.17% 0.123 100.4)
XYZxyz(45.1375, 50.0807, 16.5195)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD58 #5868CD
analogous
#CD8358 #CDBD58 #A2CD58
triadic
#CDBD58 #58CDBD #BD58CD
tetradic
#CDBD58 #58CD83 #5868CD #CD58A2
square
#CDBD58 #58CD83 #5868CD #CD58A2
split-complementary
#CDBD58 #58A2CD #8358CD
monochromatic
#837727 #B2A135 #CDBD58 #DBD087 #E9E2B6

Accessibility & contrast

On white

1.91
#CDBD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CDBD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD58
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD58#FFFFFF#000000##000000
##CDBD581.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84E
Deuteranopia (green-blind)
#D1BE5D
Tritanopia (blue-blind)
#DBB1A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbd58;
/* rgb */ color: rgb(205, 189, 88);
/* oklch */ color: oklch(79.2% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfd08a',
    500: '#cdbd58',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd58;
$custom-light: #dfd08a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd58",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 88
  },
  "hsl": {
    "h": 51.795,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79174,
    "c": 0.12322,
    "h": 100.4
  },
  "luminance": 0.50079
}

Semantic roles & 50–950 ramp

primary
#CDBD58
secondary
#3F498B
accent
#5FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDBD58

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

Preview Lab → · Contrast checker → · Palette generator →

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