#B4B048#B4B048

#B4B048 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.126 H 107.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B4B048
RGBrgb(180, 176, 72)
HSLhsl(58, 43%, 49%)
HSVhsv(58, 60%, 71%)
CMYKcmyk(0%, 2.2%, 60%, 29.4%)
CIE-LABlab(70.33, -11.98, 52.39)
CIE-LCHlch(70.33, 53.74, 102.88°)
OKLaboklab(74.01% -0.0368 0.1202)
OKLCHoklch(74.01% 0.126 107)
XYZxyz(35.5186, 41.2229, 12.2155)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B048 #484CB4
analogous
#B47A48 #B4B048 #82B448
triadic
#B4B048 #48B4B0 #B048B4
tetradic
#B4B048 #48B47A #484CB4 #B44882
square
#B4B048 #48B47A #484CB4 #B44882
split-complementary
#B4B048 #4882B4 #7A48B4
monochromatic
#5D5B25 #888537 #B4B048 #C7C472 #D8D69E

Accessibility & contrast

On white

2.27
#B4B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B4B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B048
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B048#FFFFFF#000000##000000
##B4B0481.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C0AE4E
Tritanopia (blue-blind)
#C0A59A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b048;
/* rgb */ color: rgb(180, 176, 72);
/* oklch */ color: oklch(74.0% 0.126 107.0);
Tailwind
colors: {
  custom: {
    50: '#cdc77f',
    500: '#b4b048',
    950: '#000000',
  },
}
SCSS
$custom: #b4b048;
$custom-light: #cdc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b048",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 57.778,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7401,
    "c": 0.12574,
    "h": 107
  },
  "luminance": 0.41222
}

Semantic roles & 50–950 ramp

primary
#B4B048
secondary
#9395C5
accent
#5AD355
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B048

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

Preview Lab → · Contrast checker → · Palette generator →

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