#B7A245#B7A245

#B7A245 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.115 H 96.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B7A245
RGBrgb(183, 162, 69)
HSLhsl(49, 45%, 49%)
HSVhsv(49, 62%, 72%)
CMYKcmyk(0%, 11.5%, 62.3%, 28.2%)
CIE-LABlab(66.78, -3.53, 49.92)
CIE-LCHlch(66.78, 50.05, 94.04°)
OKLaboklab(71.24% -0.0132 0.1145)
OKLCHoklch(71.24% 0.115 96.6)
XYZxyz(33.5244, 36.3392, 10.8774)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A245 #455AB7
analogous
#B76945 #B7A245 #93B745
triadic
#B7A245 #45B7A2 #A245B7
tetradic
#B7A245 #45B769 #455AB7 #B74593
square
#B7A245 #45B769 #455AB7 #B74593
split-complementary
#B7A245 #4593B7 #6945B7
monochromatic
#5E5323 #8B7B34 #B7A245 #C9B970 #DACF9D

Accessibility & contrast

On white

2.54
#B7A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B7A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A245
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A245#FFFFFF#000000##000000
##B7A2451.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3B
Deuteranopia (green-blind)
#B7A54A
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a245;
/* rgb */ color: rgb(183, 162, 69);
/* oklch */ color: oklch(71.2% 0.115 96.6);
Tailwind
colors: {
  custom: {
    50: '#cfbd7c',
    500: '#b7a245',
    950: '#000000',
  },
}
SCSS
$custom: #b7a245;
$custom-light: #cfbd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a245",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 48.947,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.11525,
    "h": 96.6
  },
  "luminance": 0.36338
}

Semantic roles & 50–950 ramp

primary
#B7A245
secondary
#929BC6
accent
#6BD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A245

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

Preview Lab → · Contrast checker → · Palette generator →

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