#CBB148#CBB148

#CBB148 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.127 H 95.3°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CBB148
RGBrgb(203, 177, 72)
HSLhsl(48, 56%, 54%)
HSVhsv(48, 65%, 80%)
CMYKcmyk(0%, 12.8%, 64.5%, 20.4%)
CIE-LABlab(72.63, -2.66, 55.48)
CIE-LCHlch(72.63, 55.54, 92.74°)
OKLaboklab(76.32% -0.0116 0.1262)
OKLCHoklch(76.32% 0.127 95.3)
XYZxyz(41.5224, 44.6108, 12.5533)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB148 #4862CB
analogous
#CB7048 #CBB148 #A4CB48
triadic
#CBB148 #48CBB1 #B148CB
tetradic
#CBB148 #48CB70 #4862CB #CB48A4
square
#CBB148 #48CB70 #4862CB #CB48A4
split-complementary
#CBB148 #48A4CB #7048CB
monochromatic
#776622 #A68F2F #CBB148 #D9C578 #E6DAA7

Accessibility & contrast

On white

2.12
#CBB148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CBB148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB148
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB148#FFFFFF#000000##000000
##CBB1481.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3C
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#DAA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb148;
/* rgb */ color: rgb(203, 177, 72);
/* oklch */ color: oklch(76.3% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#dec880',
    500: '#cbb148',
    950: '#000000',
  },
}
SCSS
$custom: #cbb148;
$custom-light: #dec880;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb148",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 48.092,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76324,
    "c": 0.12673,
    "h": 95.3
  },
  "luminance": 0.44609
}

Semantic roles & 50–950 ramp

primary
#CBB148
secondary
#9BA7D3
accent
#67DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB148

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

Preview Lab → · Contrast checker → · Palette generator →

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