#CDB548#CDB548

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

Color values

HEX#CDB548
RGBrgb(205, 181, 72)
HSLhsl(49, 57%, 54%)
HSVhsv(49, 65%, 80%)
CMYKcmyk(0%, 11.7%, 64.9%, 19.6%)
CIE-LABlab(73.87, -3.90, 56.85)
CIE-LCHlch(73.87, 56.98, 93.92°)
OKLaboklab(77.34% -0.0153 0.129)
OKLCHoklch(77.34% 0.13 96.8)
XYZxyz(42.8723, 46.4968, 12.8462)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB548 #4860CD
analogous
#CD7348 #CDB548 #A3CD48
triadic
#CDB548 #48CDB5 #B548CD
tetradic
#CDB548 #48CD73 #4860CD #CD48A3
square
#CDB548 #48CD73 #4860CD #CD48A3
split-complementary
#CDB548 #48A3CD #7348CD
monochromatic
#796A21 #A9932E #CDB548 #DAC878 #E7DCA8

Accessibility & contrast

On white

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

On black

10.30
#CDB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB548
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB548#FFFFFF#000000##000000
##CDB5481.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CDB94E
Tritanopia (blue-blind)
#DDA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb548;
/* rgb */ color: rgb(205, 181, 72);
/* oklch */ color: oklch(77.3% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#e0ca80',
    500: '#cdb548',
    950: '#000000',
  },
}
SCSS
$custom: #cdb548;
$custom-light: #e0ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb548",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 49.173,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77342,
    "c": 0.12995,
    "h": 96.8
  },
  "luminance": 0.46495
}

Semantic roles & 50–950 ramp

primary
#CDB548
secondary
#9CA6D5
accent
#63E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB548

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

Preview Lab → · Contrast checker → · Palette generator →

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