#B4B047#B4B047

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

Color values

HEX#B4B047
RGBrgb(180, 176, 71)
HSLhsl(58, 43%, 49%)
HSVhsv(58, 61%, 71%)
CMYKcmyk(0%, 2.2%, 60.6%, 29.4%)
CIE-LABlab(70.32, -12.05, 52.82)
CIE-LCHlch(70.32, 54.18, 102.85°)
OKLaboklab(74% -0.0371 0.121)
OKLCHoklch(74% 0.127 107.1)
XYZxyz(35.4862, 41.2100, 12.0451)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B047 #474BB4
analogous
#B47A47 #B4B047 #82B447
triadic
#B4B047 #47B4B0 #B047B4
tetradic
#B4B047 #47B47A #474BB4 #B44782
square
#B4B047 #47B47A #474BB4 #B44782
split-complementary
#B4B047 #4782B4 #7A47B4
monochromatic
#5C5A24 #888536 #B4B047 #C7C471 #D8D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B047#FFFFFF#000000##000000
##B4B0471.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)
#BEAA3B
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#C0A59A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b047;
/* rgb */ color: rgb(180, 176, 71);
/* oklch */ color: oklch(74.0% 0.127 107.1);
Tailwind
colors: {
  custom: {
    50: '#cdc77f',
    500: '#b4b047',
    950: '#000000',
  },
}
SCSS
$custom: #b4b047;
$custom-light: #cdc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b047",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 57.798,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74,
    "c": 0.12658,
    "h": 107.1
  },
  "luminance": 0.41209
}

Semantic roles & 50–950 ramp

primary
#B4B047
secondary
#9294C5
accent
#59D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B047

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

Preview Lab → · Contrast checker → · Palette generator →

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