#CDBC38#CDBC38

#CDBC38 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.147 H 101.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CDBC38
RGBrgb(205, 188, 56)
HSLhsl(53, 60%, 51%)
HSVhsv(53, 73%, 80%)
CMYKcmyk(0%, 8.3%, 72.7%, 19.6%)
CIE-LABlab(75.60, -8.38, 64.97)
CIE-LCHlch(75.60, 65.51, 97.35°)
OKLaboklab(78.68% -0.0298 0.1435)
OKLCHoklch(78.68% 0.147 101.8)
XYZxyz(43.8759, 49.2330, 10.9324)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC38 #3849CD
analogous
#CD7138 #CDBC38 #93CD38
triadic
#CDBC38 #38CDBC #BC38CD
tetradic
#CDBC38 #38CD71 #3849CD #CD3893
square
#CDBC38 #38CD71 #3849CD #CD3893
split-complementary
#CDBC38 #3893CD #7138CD
monochromatic
#6F651C #A09228 #CDBC38 #D9CC69 #E6DD9A

Accessibility & contrast

On white

1.94
#CDBC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CDBC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBC38
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBC38#FFFFFF#000000##000000
##CDBC381.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB621
Deuteranopia (green-blind)
#D3BD41
Tritanopia (blue-blind)
#DDAFA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbc38;
/* rgb */ color: rgb(205, 188, 56);
/* oklch */ color: oklch(78.7% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#e0cf78',
    500: '#cdbc38',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc38;
$custom-light: #e0cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc38",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 53.154,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78676,
    "c": 0.14655,
    "h": 101.8
  },
  "luminance": 0.49231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBC38

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

Preview Lab → · Contrast checker → · Palette generator →

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