#B4B348#B4B348

#B4B348 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.129 H 108.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B4B348
RGBrgb(180, 179, 72)
HSLhsl(59, 43%, 49%)
HSVhsv(59, 60%, 71%)
CMYKcmyk(0%, 0.6%, 60%, 29.4%)
CIE-LABlab(71.15, -13.52, 53.29)
CIE-LCHlch(71.15, 54.98, 104.24°)
OKLaboklab(74.67% -0.0412 0.1221)
OKLCHoklch(74.67% 0.129 108.7)
XYZxyz(36.1133, 42.4124, 12.4137)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B348 #4849B4
analogous
#B47D48 #B4B348 #7FB448
triadic
#B4B348 #48B4B3 #B348B4
tetradic
#B4B348 #48B47D #4849B4 #B4487F
square
#B4B348 #48B47D #4849B4 #B4487F
split-complementary
#B4B348 #487FB4 #7D48B4
monochromatic
#5D5C25 #888837 #B4B348 #C7C672 #D8D89E

Accessibility & contrast

On white

2.21
#B4B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#B4B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B348
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B348#FFFFFF#000000##000000
##B4B3481.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C2B04E
Tritanopia (blue-blind)
#C0A89C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b348;
/* rgb */ color: rgb(180, 179, 72);
/* oklch */ color: oklch(74.7% 0.129 108.7);
Tailwind
colors: {
  custom: {
    50: '#cdc97f',
    500: '#b4b348',
    950: '#000000',
  },
}
SCSS
$custom: #b4b348;
$custom-light: #cdc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b348",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 59.444,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.1289,
    "h": 108.7
  },
  "luminance": 0.42411
}

Semantic roles & 50–950 ramp

primary
#B4B348
secondary
#9393C5
accent
#56D355
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B348

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

Preview Lab → · Contrast checker → · Palette generator →

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