#B7AA4E#B7AA4E

#B7AA4E is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.114 H 101.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B7AA4E
RGBrgb(183, 170, 78)
HSLhsl(53, 42%, 51%)
HSVhsv(53, 57%, 72%)
CMYKcmyk(0%, 7.1%, 57.4%, 28.2%)
CIE-LABlab(69.02, -7.12, 48.23)
CIE-LCHlch(69.02, 48.76, 98.40°)
OKLaboklab(73.05% -0.0225 0.1121)
OKLCHoklch(73.05% 0.114 101.3)
XYZxyz(35.2795, 39.3681, 12.9467)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA4E #4E5BB7
analogous
#B7754E #B7AA4E #8FB74E
triadic
#B7AA4E #4EB7AA #AA4EB7
tetradic
#B7AA4E #4EB775 #4E5BB7 #B74E8F
square
#B7AA4E #4EB775 #4E5BB7 #B74E8F
split-complementary
#B7AA4E #4E8FB7 #754EB7
monochromatic
#635B28 #8E843A #B7AA4E #C9BF7A #DAD4A5

Accessibility & contrast

On white

2.37
#B7AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B7AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA4E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA4E#FFFFFF#000000##000000
##B7AA4E1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A545
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#C49F96
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa4e;
/* rgb */ color: rgb(183, 170, 78);
/* oklch */ color: oklch(73.0% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#cfc383',
    500: '#b7aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa4e;
$custom-light: #cfc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa4e",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 52.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.11428,
    "h": 101.3
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#B7AA4E
secondary
#999FC8
accent
#65D256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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