#CDB546#CDB546

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

Color values

HEX#CDB546
RGBrgb(205, 181, 70)
HSLhsl(49, 57%, 54%)
HSVhsv(49, 66%, 80%)
CMYKcmyk(0%, 11.7%, 65.9%, 19.6%)
CIE-LABlab(73.85, -4.02, 57.69)
CIE-LCHlch(73.85, 57.83, 93.99°)
OKLaboklab(77.32% -0.0159 0.1305)
OKLCHoklch(77.32% 0.131 97)
XYZxyz(42.8082, 46.4712, 12.5082)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB546 #465ECD
analogous
#CD7246 #CDB546 #A2CD46
triadic
#CDB546 #46CDB5 #B546CD
tetradic
#CDB546 #46CD72 #465ECD #CD46A2
square
#CDB546 #46CD72 #465ECD #CD46A2
split-complementary
#CDB546 #46A2CD #7246CD
monochromatic
#786920 #A8922D #CDB546 #DAC876 #E7DCA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB546#FFFFFF#000000##000000
##CDB5461.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)
#C6B138
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#DDA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb546;
/* rgb */ color: rgb(205, 181, 70);
/* oklch */ color: oklch(77.3% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#e0ca7f',
    500: '#cdb546',
    950: '#000000',
  },
}
SCSS
$custom: #cdb546;
$custom-light: #e0ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb546",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 49.333,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77324,
    "c": 0.13148,
    "h": 97
  },
  "luminance": 0.46469
}

Semantic roles & 50–950 ramp

primary
#CDB546
secondary
#9BA5D4
accent
#62E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB546

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

Preview Lab → · Contrast checker → · Palette generator →

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