#CDBD38#CDBD38

#CDBD38 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.147 H 102.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CDBD38
RGBrgb(205, 189, 56)
HSLhsl(54, 60%, 51%)
HSVhsv(54, 73%, 80%)
CMYKcmyk(0%, 7.8%, 72.7%, 19.6%)
CIE-LABlab(75.86, -8.90, 65.22)
CIE-LCHlch(75.86, 65.83, 97.77°)
OKLaboklab(78.89% -0.0313 0.144)
OKLCHoklch(78.89% 0.147 102.3)
XYZxyz(44.0902, 49.6618, 11.0039)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD38 #3848CD
analogous
#CD7238 #CDBD38 #92CD38
triadic
#CDBD38 #38CDBD #BD38CD
tetradic
#CDBD38 #38CD72 #3848CD #CD3892
square
#CDBD38 #38CD72 #3848CD #CD3892
split-complementary
#CDBD38 #3892CD #7238CD
monochromatic
#6F661C #A09328 #CDBD38 #D9CD69 #E6DD9A

Accessibility & contrast

On white

1.92
#CDBD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CDBD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD38
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD38#FFFFFF#000000##000000
##CDBD381.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#D3BE41
Tritanopia (blue-blind)
#DDB0A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbd38;
/* rgb */ color: rgb(205, 189, 56);
/* oklch */ color: oklch(78.9% 0.147 102.3);
Tailwind
colors: {
  custom: {
    50: '#e0d078',
    500: '#cdbd38',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd38;
$custom-light: #e0d078;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd38",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 53.557,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78887,
    "c": 0.14738,
    "h": 102.3
  },
  "luminance": 0.4966
}

Semantic roles & 50–950 ramp

primary
#CDBD38
secondary
#8F97D1
accent
#56E345
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDBD38

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

Preview Lab → · Contrast checker → · Palette generator →

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