#CBBA48#CBBA48

#CBBA48 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.134 H 100.8°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CBBA48
RGBrgb(203, 186, 72)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.4%, 64.5%, 20.4%)
CIE-LABlab(75.00, -7.36, 58.00)
CIE-LCHlch(75.00, 58.47, 97.23°)
OKLaboklab(78.2% -0.0251 0.1315)
OKLCHoklch(78.2% 0.134 100.8)
XYZxyz(43.3590, 48.2840, 13.1655)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBA48 #4859CB
analogous
#CB7948 #CBBA48 #9BCB48
triadic
#CBBA48 #48CBBA #BA48CB
tetradic
#CBBA48 #48CB79 #4859CB #CB489B
square
#CBBA48 #48CB79 #4859CB #CB489B
split-complementary
#CBBA48 #489BCB #7948CB
monochromatic
#776C22 #A6972F #CBBA48 #D9CC78 #E6DEA7

Accessibility & contrast

On white

1.97
#CBBA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CBBA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBA48
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBA48#FFFFFF#000000##000000
##CBBA481.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#CFBC4E
Tritanopia (blue-blind)
#DAADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbba48;
/* rgb */ color: rgb(203, 186, 72);
/* oklch */ color: oklch(78.2% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#dece80',
    500: '#cbba48',
    950: '#000000',
  },
}
SCSS
$custom: #cbba48;
$custom-light: #dece80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbba48",
  "rgb": {
    "r": 203,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 52.214,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.782,
    "c": 0.13391,
    "h": 100.8
  },
  "luminance": 0.48282
}

Semantic roles & 50–950 ramp

primary
#CBBA48
secondary
#9BA3D3
accent
#5CDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBBA48

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

Preview Lab → · Contrast checker → · Palette generator →

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