#CDB543#CDB543

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

Color values

HEX#CDB543
RGBrgb(205, 181, 67)
HSLhsl(50, 58%, 53%)
HSVhsv(50, 67%, 80%)
CMYKcmyk(0%, 11.7%, 67.3%, 19.6%)
CIE-LABlab(73.83, -4.19, 58.93)
CIE-LCHlch(73.83, 59.07, 94.07°)
OKLaboklab(77.3% -0.0167 0.1326)
OKLCHoklch(77.3% 0.134 97.2)
XYZxyz(42.7158, 46.4342, 12.0218)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB543 #435BCD
analogous
#CD7043 #CDB543 #A0CD43
triadic
#CDB543 #43CDB5 #B543CD
tetradic
#CDB543 #43CD70 #435BCD #CD43A0
square
#CDB543 #43CD70 #435BCD #CD43A0
split-complementary
#CDB543 #43A0CD #7043CD
monochromatic
#76671F #A7912C #CDB543 #DAC873 #E7DBA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB543#FFFFFF#000000##000000
##CDB5431.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)
#C6B134
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#DDA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb543;
/* rgb */ color: rgb(205, 181, 67);
/* oklch */ color: oklch(77.3% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#e0ca7d',
    500: '#cdb543',
    950: '#000000',
  },
}
SCSS
$custom: #cdb543;
$custom-light: #e0ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb543",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 49.565,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77297,
    "c": 0.13369,
    "h": 97.2
  },
  "luminance": 0.46432
}

Semantic roles & 50–950 ramp

primary
#CDB543
secondary
#98A3D4
accent
#61E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB543

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

Preview Lab → · Contrast checker → · Palette generator →

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