#B7A645#B7A645

#B7A645 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.119 H 99.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B7A645
RGBrgb(183, 166, 69)
HSLhsl(51, 45%, 49%)
HSVhsv(51, 62%, 72%)
CMYKcmyk(0%, 9.3%, 62.3%, 28.2%)
CIE-LABlab(67.85, -5.66, 51.10)
CIE-LCHlch(67.85, 51.41, 96.32°)
OKLaboklab(72.09% -0.0194 0.117)
OKLCHoklch(72.09% 0.119 99.4)
XYZxyz(34.2402, 37.7709, 11.1160)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A645 #4556B7
analogous
#B76D45 #B7A645 #8FB745
triadic
#B7A645 #45B7A6 #A645B7
tetradic
#B7A645 #45B76D #4556B7 #B7458F
square
#B7A645 #45B76D #4556B7 #B7458F
split-complementary
#B7A645 #458FB7 #6D45B7
monochromatic
#5E5523 #8B7E34 #B7A645 #C9BC70 #DAD19D

Accessibility & contrast

On white

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

On black

8.55
#B7A645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A645
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A645#FFFFFF#000000##000000
##B7A6451.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#C49B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a645;
/* rgb */ color: rgb(183, 166, 69);
/* oklch */ color: oklch(72.1% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#cfc07d',
    500: '#b7a645',
    950: '#000000',
  },
}
SCSS
$custom: #b7a645;
$custom-light: #cfc07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a645",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 51.053,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72093,
    "c": 0.11858,
    "h": 99.4
  },
  "luminance": 0.37769
}

Semantic roles & 50–950 ramp

primary
#B7A645
secondary
#9299C6
accent
#66D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A645

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

Preview Lab → · Contrast checker → · Palette generator →

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