#B7A554#B7A554

#B7A554 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.104 H 97.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B7A554
RGBrgb(183, 165, 84)
HSLhsl(49, 41%, 52%)
HSVhsv(49, 54%, 72%)
CMYKcmyk(0%, 9.8%, 54.1%, 28.2%)
CIE-LABlab(67.74, -3.98, 43.85)
CIE-LCHlch(67.74, 44.03, 95.19°)
OKLaboklab(72.05% -0.0128 0.1032)
OKLCHoklch(72.05% 0.104 97.1)
XYZxyz(34.5850, 37.6191, 13.8252)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A554 #5466B7
analogous
#B77454 #B7A554 #98B754
triadic
#B7A554 #54B7A5 #A554B7
tetradic
#B7A554 #54B774 #5466B7 #B75498
square
#B7A554 #54B774 #5466B7 #B75498
split-complementary
#B7A554 #5498B7 #7454B7
monochromatic
#665B2B #91823D #B7A554 #C9BC7F #DBD2AA

Accessibility & contrast

On white

2.46
#B7A554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B7A554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A554
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A554#FFFFFF#000000##000000
##B7A5541.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24D
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#C49B92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a554;
/* rgb */ color: rgb(183, 165, 84);
/* oklch */ color: oklch(72.1% 0.104 97.1);
Tailwind
colors: {
  custom: {
    50: '#cfbf86',
    500: '#b7a554',
    950: '#000000',
  },
}
SCSS
$custom: #b7a554;
$custom-light: #cfbf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a554",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 84
  },
  "hsl": {
    "h": 49.091,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72054,
    "c": 0.10403,
    "h": 97.1
  },
  "luminance": 0.37618
}

Semantic roles & 50–950 ramp

primary
#B7A554
secondary
#9EA6C9
accent
#6DD157
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7A554

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

Preview Lab → · Contrast checker → · Palette generator →

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