#CDBC45#CDBC45

#CDBC45 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.138 H 101.1°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CDBC45
RGBrgb(205, 188, 69)
HSLhsl(53, 58%, 54%)
HSVhsv(53, 66%, 80%)
CMYKcmyk(0%, 8.3%, 66.3%, 19.6%)
CIE-LABlab(75.69, -7.72, 60.03)
CIE-LCHlch(75.69, 60.52, 97.32°)
OKLaboklab(78.78% -0.0266 0.1353)
OKLCHoklch(78.78% 0.138 101.1)
XYZxyz(44.2361, 49.3771, 12.8297)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC45 #4556CD
analogous
#CD7845 #CDBC45 #9ACD45
triadic
#CDBC45 #45CDBC #BC45CD
tetradic
#CDBC45 #45CD78 #4556CD #CD459A
square
#CDBC45 #45CD78 #4556CD #CD459A
split-complementary
#CDBC45 #459ACD #7845CD
monochromatic
#776D20 #A8982D #CDBC45 #DACD75 #E7DFA5

Accessibility & contrast

On white

1.93
#CDBC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CDBC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBC45
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBC45#FFFFFF#000000##000000
##CDBC451.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#DCAFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbc45;
/* rgb */ color: rgb(205, 188, 69);
/* oklch */ color: oklch(78.8% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e0cf7f',
    500: '#cdbc45',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc45;
$custom-light: #e0cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc45",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 52.5,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78776,
    "c": 0.13787,
    "h": 101.1
  },
  "luminance": 0.49375
}

Semantic roles & 50–950 ramp

primary
#CDBC45
secondary
#9AA1D4
accent
#5AE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBC45

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

Preview Lab → · Contrast checker → · Palette generator →

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