#B2B451#B2B451

#B2B451 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.122 H 110.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B2B451
RGBrgb(178, 180, 81)
HSLhsl(61, 40%, 51%)
HSVhsv(61, 55%, 71%)
CMYKcmyk(1.1%, 0%, 55%, 29.4%)
CIE-LABlab(71.35, -14.20, 49.37)
CIE-LCHlch(71.35, 51.37, 106.04°)
OKLaboklab(74.81% -0.042 0.1149)
OKLCHoklch(74.81% 0.122 110.1)
XYZxyz(36.1675, 42.7024, 14.1202)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B451 #5351B4
analogous
#B48451 #B2B451 #80B451
triadic
#B2B451 #51B2B4 #B451B2
tetradic
#B2B451 #51B484 #5351B4 #B45180
square
#B2B451 #51B484 #5351B4 #B45180
split-complementary
#B2B451 #5180B4 #8451B4
monochromatic
#60612A #8A8C3C #B2B451 #C5C67C #D8D9A7

Accessibility & contrast

On white

2.20
#B2B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B2B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B451
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B451#FFFFFF#000000##000000
##B2B4511.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#C2B056
Tritanopia (blue-blind)
#BDAA9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b451;
/* rgb */ color: rgb(178, 180, 81);
/* oklch */ color: oklch(74.8% 0.122 110.1);
Tailwind
colors: {
  custom: {
    50: '#cbca85',
    500: '#b2b451',
    950: '#000000',
  },
}
SCSS
$custom: #b2b451;
$custom-light: #cbca85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b451",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 61.212,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.12238,
    "h": 110.1
  },
  "luminance": 0.42702
}

Semantic roles & 50–950 ramp

primary
#B2B451
secondary
#9B9BC6
accent
#58D05B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B451

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

Preview Lab → · Contrast checker → · Palette generator →

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