#CDB345#CDB345

#CDB345 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.131 H 95.8°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CDB345
RGBrgb(205, 179, 69)
HSLhsl(49, 58%, 54%)
HSVhsv(49, 66%, 80%)
CMYKcmyk(0%, 12.7%, 66.3%, 19.6%)
CIE-LABlab(73.32, -3.03, 57.56)
CIE-LCHlch(73.32, 57.64, 93.02°)
OKLaboklab(76.9% -0.0132 0.1301)
OKLCHoklch(76.9% 0.131 95.8)
XYZxyz(42.3731, 45.6512, 12.2087)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB345 #455FCD
analogous
#CD6F45 #CDB345 #A3CD45
triadic
#CDB345 #45CDB3 #B345CD
tetradic
#CDB345 #45CD6F #455FCD #CD45A3
square
#CDB345 #45CD6F #455FCD #CD45A3
split-complementary
#CDB345 #45A3CD #6F45CD
monochromatic
#776720 #A8902D #CDB345 #DAC775 #E7DAA5

Accessibility & contrast

On white

2.07
#CDB345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CDB345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB345
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB345#FFFFFF#000000##000000
##CDB3451.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb345;
/* rgb */ color: rgb(205, 179, 69);
/* oklch */ color: oklch(76.9% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#e0c97e',
    500: '#cdb345',
    950: '#000000',
  },
}
SCSS
$custom: #cdb345;
$custom-light: #e0c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb345",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 48.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.769,
    "c": 0.13073,
    "h": 95.8
  },
  "luminance": 0.45649
}

Semantic roles & 50–950 ramp

primary
#CDB345
secondary
#9AA5D4
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB345

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

Preview Lab → · Contrast checker → · Palette generator →

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