#B2B754#B2B754

#B2B754 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.123 H 111.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B2B754
RGBrgb(178, 183, 84)
HSLhsl(63, 41%, 52%)
HSVhsv(63, 54%, 72%)
CMYKcmyk(2.7%, 0%, 54.1%, 28.2%)
CIE-LABlab(72.21, -15.48, 48.95)
CIE-LCHlch(72.21, 51.34, 107.55°)
OKLaboklab(75.51% -0.0453 0.1144)
OKLCHoklch(75.51% 0.123 111.6)
XYZxyz(36.8946, 43.9728, 14.9298)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B754 #5954B7
analogous
#B78A54 #B2B754 #81B754
triadic
#B2B754 #54B2B7 #B754B2
tetradic
#B2B754 #54B78A #5954B7 #B75481
square
#B2B754 #54B78A #5954B7 #B75481
split-complementary
#B2B754 #5481B7 #8A54B7
monochromatic
#63662B #8D913D #B2B754 #C5C97F #D9DBAA

Accessibility & contrast

On white

2.14
#B2B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B2B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B754
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B754#FFFFFF#000000##000000
##B2B7541.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04A
Deuteranopia (green-blind)
#C4B259
Tritanopia (blue-blind)
#BDADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b754;
/* rgb */ color: rgb(178, 183, 84);
/* oklch */ color: oklch(75.5% 0.123 111.6);
Tailwind
colors: {
  custom: {
    50: '#cbcc87',
    500: '#b2b754',
    950: '#000000',
  },
}
SCSS
$custom: #b2b754;
$custom-light: #cbcc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b754",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 63.03,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75507,
    "c": 0.12303,
    "h": 111.6
  },
  "luminance": 0.43972
}

Semantic roles & 50–950 ramp

primary
#B2B754
secondary
#A09EC9
accent
#57D15D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B754

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

Preview Lab → · Contrast checker → · Palette generator →

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