#B2B047#B2B047

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

Color values

HEX#B2B047
RGBrgb(178, 176, 71)
HSLhsl(59, 43%, 49%)
HSVhsv(59, 60%, 70%)
CMYKcmyk(0%, 1.1%, 60.1%, 30.2%)
CIE-LABlab(70.16, -12.90, 52.59)
CIE-LCHlch(70.16, 54.15, 103.78°)
OKLaboklab(73.83% -0.0394 0.1206)
OKLCHoklch(73.83% 0.127 108.1)
XYZxyz(35.0238, 40.9716, 12.0234)
Luminance0.4097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B047 #4749B2
analogous
#B27B47 #B2B047 #7FB247
triadic
#B2B047 #47B2B0 #B047B2
tetradic
#B2B047 #47B27B #4749B2 #B2477F
square
#B2B047 #47B27B #4749B2 #B2477F
split-complementary
#B2B047 #477FB2 #7B47B2
monochromatic
#5B5924 #868536 #B2B047 #C6C470 #D7D69C

Accessibility & contrast

On white

2.28
#B2B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B2B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B047
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B047#FFFFFF#000000##000000
##B2B0471.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#BEA59A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b047;
/* rgb */ color: rgb(178, 176, 71);
/* oklch */ color: oklch(73.8% 0.127 108.1);
Tailwind
colors: {
  custom: {
    50: '#ccc77f',
    500: '#b2b047',
    950: '#000000',
  },
}
SCSS
$custom: #b2b047;
$custom-light: #ccc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b047",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 58.879,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.12686,
    "h": 108.1
  },
  "luminance": 0.40971
}

Semantic roles & 50–950 ramp

primary
#B2B047
secondary
#9192C4
accent
#57D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B047

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

Preview Lab → · Contrast checker → · Palette generator →

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