#B4B248#B4B248

#B4B248 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.128 H 108.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B4B248
RGBrgb(180, 178, 72)
HSLhsl(59, 43%, 49%)
HSVhsv(59, 60%, 71%)
CMYKcmyk(0%, 1.1%, 60%, 29.4%)
CIE-LABlab(70.88, -13.01, 52.99)
CIE-LCHlch(70.88, 54.56, 103.79°)
OKLaboklab(74.45% -0.0398 0.1215)
OKLCHoklch(74.45% 0.128 108.1)
XYZxyz(35.9136, 42.0130, 12.3471)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B248 #484AB4
analogous
#B47C48 #B4B248 #80B448
triadic
#B4B248 #48B4B2 #B248B4
tetradic
#B4B248 #48B47C #484AB4 #B44880
square
#B4B248 #48B47C #484AB4 #B44880
split-complementary
#B4B248 #4880B4 #7C48B4
monochromatic
#5D5C25 #888737 #B4B248 #C7C572 #D8D79E

Accessibility & contrast

On white

2.23
#B4B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B4B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B248
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B248#FFFFFF#000000##000000
##B4B2481.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB3C
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#C0A79B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b248;
/* rgb */ color: rgb(180, 178, 72);
/* oklch */ color: oklch(74.4% 0.128 108.1);
Tailwind
colors: {
  custom: {
    50: '#cdc87f',
    500: '#b4b248',
    950: '#000000',
  },
}
SCSS
$custom: #b4b248;
$custom-light: #cdc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b248",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 58.889,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74447,
    "c": 0.12784,
    "h": 108.1
  },
  "luminance": 0.42012
}

Semantic roles & 50–950 ramp

primary
#B4B248
secondary
#9394C5
accent
#57D355
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B248

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

Preview Lab → · Contrast checker → · Palette generator →

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