#CDBB38#CDBB38

#CDBB38 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.146 H 101.2°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CDBB38
RGBrgb(205, 187, 56)
HSLhsl(53, 60%, 51%)
HSVhsv(53, 73%, 80%)
CMYKcmyk(0%, 8.8%, 72.7%, 19.6%)
CIE-LABlab(75.33, -7.87, 64.71)
CIE-LCHlch(75.33, 65.19, 96.93°)
OKLaboklab(78.47% -0.0284 0.1429)
OKLCHoklch(78.47% 0.146 101.2)
XYZxyz(43.6630, 48.8073, 10.8615)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB38 #384ACD
analogous
#CD7038 #CDBB38 #94CD38
triadic
#CDBB38 #38CDBB #BB38CD
tetradic
#CDBB38 #38CD70 #384ACD #CD3894
square
#CDBB38 #38CD70 #384ACD #CD3894
split-complementary
#CDBB38 #3894CD #7038CD
monochromatic
#6F651C #A09128 #CDBB38 #D9CC69 #E6DC9A

Accessibility & contrast

On white

1.95
#CDBB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CDBB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB38
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB38#FFFFFF#000000##000000
##CDBB381.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB521
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#DDADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdbb38;
/* rgb */ color: rgb(205, 187, 56);
/* oklch */ color: oklch(78.5% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0cf77',
    500: '#cdbb38',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb38;
$custom-light: #e0cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb38",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 52.752,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78466,
    "c": 0.14573,
    "h": 101.2
  },
  "luminance": 0.48805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBB38

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

Preview Lab → · Contrast checker → · Palette generator →

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