#B2B954#B2B954

#B2B954 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.125 H 112.6°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B2B954
RGBrgb(178, 185, 84)
HSLhsl(64, 42%, 53%)
HSVhsv(64, 55%, 73%)
CMYKcmyk(3.8%, 0%, 54.6%, 27.5%)
CIE-LABlab(72.76, -16.50, 49.59)
CIE-LCHlch(72.76, 52.26, 108.40°)
OKLaboklab(75.95% -0.0482 0.1157)
OKLCHoklch(75.95% 0.125 112.6)
XYZxyz(37.3101, 44.8037, 15.0683)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B954 #5B54B9
analogous
#B98D54 #B2B954 #80B954
triadic
#B2B954 #54B2B9 #B954B2
tetradic
#B2B954 #54B98D #5B54B9 #B95480
square
#B2B954 #54B98D #5B54B9 #B95480
split-complementary
#B2B954 #5480B9 #8D54B9
monochromatic
#64682B #8D933C #B2B954 #C6CB7F #D9DDAB

Accessibility & contrast

On white

2.11
#B2B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#B2B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B954
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B954#FFFFFF#000000##000000
##B2B9541.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14A
Deuteranopia (green-blind)
#C5B45A
Tritanopia (blue-blind)
#BCAFA3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2b954;
/* rgb */ color: rgb(178, 185, 84);
/* oklch */ color: oklch(75.9% 0.125 112.6);
Tailwind
colors: {
  custom: {
    50: '#cbcd87',
    500: '#b2b954',
    950: '#000000',
  },
}
SCSS
$custom: #b2b954;
$custom-light: #cbcd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b954",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 64.158,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75948,
    "c": 0.12539,
    "h": 112.6
  },
  "luminance": 0.44803
}

Semantic roles & 50–950 ramp

primary
#B2B954
secondary
#A29FCA
accent
#56D25F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B954

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

Preview Lab → · Contrast checker → · Palette generator →

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