#B2B048#B2B048

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

Color values

HEX#B2B048
RGBrgb(178, 176, 72)
HSLhsl(59, 42%, 49%)
HSVhsv(59, 60%, 70%)
CMYKcmyk(0%, 1.1%, 59.6%, 30.2%)
CIE-LABlab(70.17, -12.83, 52.16)
CIE-LCHlch(70.17, 53.71, 103.82°)
OKLaboklab(73.84% -0.0391 0.1198)
OKLCHoklch(73.84% 0.126 108.1)
XYZxyz(35.0562, 40.9845, 12.1938)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B048 #484AB2
analogous
#B27B48 #B2B048 #7FB248
triadic
#B2B048 #48B2B0 #B048B2
tetradic
#B2B048 #48B27B #484AB2 #B2487F
square
#B2B048 #48B27B #484AB2 #B2487F
split-complementary
#B2B048 #487FB2 #7B48B2
monochromatic
#5B5A25 #868536 #B2B048 #C6C471 #D7D69D

Accessibility & contrast

On white

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

On black

9.20
#B2B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B048
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B048#FFFFFF#000000##000000
##B2B0481.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b048;
/* rgb */ color: rgb(178, 176, 72);
/* oklch */ color: oklch(73.8% 0.126 108.1);
Tailwind
colors: {
  custom: {
    50: '#ccc77f',
    500: '#b2b048',
    950: '#000000',
  },
}
SCSS
$custom: #b2b048;
$custom-light: #ccc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b048",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 58.868,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73837,
    "c": 0.12601,
    "h": 108.1
  },
  "luminance": 0.40984
}

Semantic roles & 50–950 ramp

primary
#B2B048
secondary
#9293C4
accent
#58D256
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B048

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

Preview Lab → · Contrast checker → · Palette generator →

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