#B7B554#B7B554

#B7B554 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.120 H 107.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B7B554
RGBrgb(183, 181, 84)
HSLhsl(59, 41%, 52%)
HSVhsv(59, 54%, 72%)
CMYKcmyk(0%, 1.1%, 54.1%, 28.2%)
CIE-LABlab(72.07, -12.37, 48.89)
CIE-LCHlch(72.07, 50.43, 104.20°)
OKLaboklab(75.49% -0.0368 0.1142)
OKLCHoklch(75.49% 0.12 107.9)
XYZxyz(37.6536, 43.7561, 14.8481)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B554 #5456B7
analogous
#B78454 #B7B554 #87B754
triadic
#B7B554 #54B7B5 #B554B7
tetradic
#B7B554 #54B784 #5456B7 #B75487
square
#B7B554 #54B784 #5456B7 #B75487
split-complementary
#B7B554 #5487B7 #8454B7
monochromatic
#66652B #918F3D #B7B554 #C9C87F #DBDAAA

Accessibility & contrast

On white

2.15
#B7B554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B7B554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B554
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B554#FFFFFF#000000##000000
##B7B5541.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b554;
/* rgb */ color: rgb(183, 181, 84);
/* oklch */ color: oklch(75.5% 0.120 107.9);
Tailwind
colors: {
  custom: {
    50: '#cfcb87',
    500: '#b7b554',
    950: '#000000',
  },
}
SCSS
$custom: #b7b554;
$custom-light: #cfcb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b554",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 58.788,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7549,
    "c": 0.11994,
    "h": 107.9
  },
  "luminance": 0.43755
}

Semantic roles & 50–950 ramp

primary
#B7B554
secondary
#9E9FC9
accent
#5AD157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7B554

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

Preview Lab → · Contrast checker → · Palette generator →

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