#B7A656#B7A656

#B7A656 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.103 H 97.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B7A656
RGBrgb(183, 166, 86)
HSLhsl(49, 40%, 53%)
HSVhsv(49, 53%, 72%)
CMYKcmyk(0%, 9.3%, 53%, 28.2%)
CIE-LABlab(68.03, -4.34, 43.21)
CIE-LCHlch(68.03, 43.43, 95.74°)
OKLaboklab(72.29% -0.0136 0.102)
OKLCHoklch(72.29% 0.103 97.6)
XYZxyz(34.8455, 38.0130, 14.3041)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A656 #5667B7
analogous
#B77656 #B7A656 #97B756
triadic
#B7A656 #56B7A6 #A656B7
tetradic
#B7A656 #56B776 #5667B7 #B75697
square
#B7A656 #56B776 #5667B7 #B75697
split-complementary
#B7A656 #5697B7 #7656B7
monochromatic
#675C2C #92833E #B7A656 #C9BD81 #DCD3AC

Accessibility & contrast

On white

2.44
#B7A656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B7A656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A656
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A656#FFFFFF#000000##000000
##B7A6561.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24F
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#C39C94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a656;
/* rgb */ color: rgb(183, 166, 86);
/* oklch */ color: oklch(72.3% 0.103 97.6);
Tailwind
colors: {
  custom: {
    50: '#cfc088',
    500: '#b7a656',
    950: '#000000',
  },
}
SCSS
$custom: #b7a656;
$custom-light: #cfc088;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a656",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 86
  },
  "hsl": {
    "h": 49.485,
    "s": 40.249,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72293,
    "c": 0.10293,
    "h": 97.6
  },
  "luminance": 0.38012
}

Semantic roles & 50–950 ramp

primary
#B7A656
secondary
#9FA7C9
accent
#6DD058
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B7A656

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

Preview Lab → · Contrast checker → · Palette generator →

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