#CBB948#CBB948

#CBB948 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.133 H 100.2°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CBB948
RGBrgb(203, 185, 72)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.9%, 64.5%, 20.4%)
CIE-LABlab(74.74, -6.84, 57.72)
CIE-LCHlch(74.74, 58.13, 96.75°)
OKLaboklab(77.99% -0.0236 0.131)
OKLCHoklch(77.99% 0.133 100.2)
XYZxyz(43.1491, 47.8642, 13.0955)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB948 #485ACB
analogous
#CB7848 #CBB948 #9CCB48
triadic
#CBB948 #48CBB9 #B948CB
tetradic
#CBB948 #48CB78 #485ACB #CB489C
square
#CBB948 #48CB78 #485ACB #CB489C
split-complementary
#CBB948 #489CCB #7848CB
monochromatic
#776B22 #A6962F #CBB948 #D9CB78 #E6DDA7

Accessibility & contrast

On white

1.99
#CBB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CBB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB948
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB948#FFFFFF#000000##000000
##CBB9481.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#DAACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb948;
/* rgb */ color: rgb(203, 185, 72);
/* oklch */ color: oklch(78.0% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#decd80',
    500: '#cbb948',
    950: '#000000',
  },
}
SCSS
$custom: #cbb948;
$custom-light: #decd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb948",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 51.756,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77991,
    "c": 0.13306,
    "h": 100.2
  },
  "luminance": 0.47862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBB948

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

Preview Lab → · Contrast checker → · Palette generator →

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