#B4B249#B4B249

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

Color values

HEX#B4B249
RGBrgb(180, 178, 73)
HSLhsl(59, 42%, 50%)
HSVhsv(59, 59%, 71%)
CMYKcmyk(0%, 1.1%, 59.4%, 29.4%)
CIE-LABlab(70.89, -12.94, 52.55)
CIE-LCHlch(70.89, 54.12, 103.83°)
OKLaboklab(74.46% -0.0394 0.1207)
OKLCHoklch(74.46% 0.127 108.1)
XYZxyz(35.9465, 42.0262, 12.5204)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B249 #494BB4
analogous
#B47D49 #B4B249 #80B449
triadic
#B4B249 #49B4B2 #B249B4
tetradic
#B4B249 #49B47D #494BB4 #B44980
square
#B4B249 #49B47D #494BB4 #B44980
split-complementary
#B4B249 #4980B4 #7D49B4
monochromatic
#5D5C26 #888737 #B4B249 #C7C574 #D8D79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B249#FFFFFF#000000##000000
##B4B2491.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)
#C0AB3D
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#C0A79C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b249;
/* rgb */ color: rgb(180, 178, 73);
/* oklch */ color: oklch(74.5% 0.127 108.1);
Tailwind
colors: {
  custom: {
    50: '#cdc880',
    500: '#b4b249',
    950: '#000000',
  },
}
SCSS
$custom: #b4b249;
$custom-light: #cdc880;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b249",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 58.879,
    "s": 42.292,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74457,
    "c": 0.12699,
    "h": 108.1
  },
  "luminance": 0.42025
}

Semantic roles & 50–950 ramp

primary
#B4B249
secondary
#9495C5
accent
#58D256
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B249

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

Preview Lab → · Contrast checker → · Palette generator →

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