#CBB548#CBB548

#CBB548 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.130 H 97.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CBB548
RGBrgb(203, 181, 72)
HSLhsl(50, 56%, 54%)
HSVhsv(50, 65%, 80%)
CMYKcmyk(0%, 10.8%, 64.5%, 20.4%)
CIE-LABlab(73.68, -4.76, 56.60)
CIE-LCHlch(73.68, 56.80, 94.80°)
OKLaboklab(77.15% -0.0177 0.1286)
OKLCHoklch(77.15% 0.13 97.8)
XYZxyz(42.3240, 46.2141, 12.8205)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB548 #485ECB
analogous
#CB7448 #CBB548 #A0CB48
triadic
#CBB548 #48CBB5 #B548CB
tetradic
#CBB548 #48CB74 #485ECB #CB48A0
square
#CBB548 #48CB74 #485ECB #CB48A0
split-complementary
#CBB548 #48A0CB #7448CB
monochromatic
#776922 #A6922F #CBB548 #D9C878 #E6DCA7

Accessibility & contrast

On white

2.05
#CBB548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CBB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB548
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB548#FFFFFF#000000##000000
##CBB5481.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#DAA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb548;
/* rgb */ color: rgb(203, 181, 72);
/* oklch */ color: oklch(77.2% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#deca80',
    500: '#cbb548',
    950: '#000000',
  },
}
SCSS
$custom: #cbb548;
$custom-light: #deca80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb548",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 49.924,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77154,
    "c": 0.12978,
    "h": 97.8
  },
  "luminance": 0.46212
}

Semantic roles & 50–950 ramp

primary
#CBB548
secondary
#9BA5D3
accent
#62DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB548

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

Preview Lab → · Contrast checker → · Palette generator →

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