#CDB545#CDB545

#CDB545 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.132 H 97.0°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CDB545
RGBrgb(205, 181, 69)
HSLhsl(49, 58%, 54%)
HSVhsv(49, 66%, 80%)
CMYKcmyk(0%, 11.7%, 66.3%, 19.6%)
CIE-LABlab(73.84, -4.08, 58.10)
CIE-LCHlch(73.84, 58.25, 94.02°)
OKLaboklab(77.32% -0.0162 0.1312)
OKLCHoklch(77.32% 0.132 97)
XYZxyz(42.7769, 46.4586, 12.3433)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB545 #455DCD
analogous
#CD7145 #CDB545 #A1CD45
triadic
#CDB545 #45CDB5 #B545CD
tetradic
#CDB545 #45CD71 #455DCD #CD45A1
square
#CDB545 #45CD71 #455DCD #CD45A1
split-complementary
#CDB545 #45A1CD #7145CD
monochromatic
#776820 #A8922D #CDB545 #DAC875 #E7DBA5

Accessibility & contrast

On white

2.04
#CDB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#CDB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB545
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB545#FFFFFF#000000##000000
##CDB5451.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B137
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#DDA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb545;
/* rgb */ color: rgb(205, 181, 69);
/* oklch */ color: oklch(77.3% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#e0ca7e',
    500: '#cdb545',
    950: '#000000',
  },
}
SCSS
$custom: #cdb545;
$custom-light: #e0ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb545",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 49.412,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77315,
    "c": 0.13222,
    "h": 97
  },
  "luminance": 0.46457
}

Semantic roles & 50–950 ramp

primary
#CDB545
secondary
#9AA4D4
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB545

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

Preview Lab → · Contrast checker → · Palette generator →

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