#CBB848#CBB848

#CBB848 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.132 H 99.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CBB848
RGBrgb(203, 184, 72)
HSLhsl(51, 56%, 54%)
HSVhsv(51, 65%, 80%)
CMYKcmyk(0%, 9.4%, 64.5%, 20.4%)
CIE-LABlab(74.47, -6.32, 57.44)
CIE-LCHlch(74.47, 57.79, 96.28°)
OKLaboklab(77.78% -0.0221 0.1304)
OKLCHoklch(77.78% 0.132 99.6)
XYZxyz(42.9406, 47.4473, 13.0260)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB848 #485BCB
analogous
#CB7748 #CBB848 #9DCB48
triadic
#CBB848 #48CBB8 #B848CB
tetradic
#CBB848 #48CB77 #485BCB #CB489D
square
#CBB848 #48CB77 #485BCB #CB489D
split-complementary
#CBB848 #489DCB #7748CB
monochromatic
#776A22 #A6952F #CBB848 #D9CA78 #E6DDA7

Accessibility & contrast

On white

2.00
#CBB848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CBB848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB848
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB848#FFFFFF#000000##000000
##CBB8481.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33A
Deuteranopia (green-blind)
#CEBA4E
Tritanopia (blue-blind)
#DAABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb848;
/* rgb */ color: rgb(203, 184, 72);
/* oklch */ color: oklch(77.8% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#decd80',
    500: '#cbb848',
    950: '#000000',
  },
}
SCSS
$custom: #cbb848;
$custom-light: #decd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb848",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 51.298,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77781,
    "c": 0.13222,
    "h": 99.6
  },
  "luminance": 0.47445
}

Semantic roles & 50–950 ramp

primary
#CBB848
secondary
#9BA4D3
accent
#5FDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB848

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

Preview Lab → · Contrast checker → · Palette generator →

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