#B7AA3E#B7AA3E

#B7AA3E is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.128 H 102.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B7AA3E
RGBrgb(183, 170, 62)
HSLhsl(54, 49%, 48%)
HSVhsv(54, 66%, 72%)
CMYKcmyk(0%, 7.1%, 66.1%, 28.2%)
CIE-LABlab(68.87, -8.21, 55.25)
CIE-LCHlch(68.87, 55.85, 98.46°)
OKLaboklab(72.88% -0.0275 0.1247)
OKLCHoklch(72.88% 0.128 102.4)
XYZxyz(34.7741, 39.1659, 10.2846)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA3E #3E4BB7
analogous
#B76E3E #B7AA3E #87B73E
triadic
#B7AA3E #3EB7AA #AA3EB7
tetradic
#B7AA3E #3EB76E #3E4BB7 #B73E87
square
#B7AA3E #3EB76E #3E4BB7 #B73E87
split-complementary
#B7AA3E #3E87B7 #6E3EB7
monochromatic
#5C551F #89802F #B7AA3E #CBC167 #DBD394

Accessibility & contrast

On white

2.38
#B7AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B7AA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA3E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA3E#FFFFFF#000000##000000
##B7AA3E1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#C49E94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa3e;
/* rgb */ color: rgb(183, 170, 62);
/* oklch */ color: oklch(72.9% 0.128 102.4);
Tailwind
colors: {
  custom: {
    50: '#d0c379',
    500: '#b7aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa3e;
$custom-light: #d0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa3e",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 53.554,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.12771,
    "h": 102.4
  },
  "luminance": 0.39165
}

Semantic roles & 50–950 ramp

primary
#B7AA3E
secondary
#8A91C6
accent
#5ED94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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