#B7AA38#B7AA38

#B7AA38 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.132 H 102.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B7AA38
RGBrgb(183, 170, 56)
HSLhsl(54, 53%, 47%)
HSVhsv(54, 69%, 72%)
CMYKcmyk(0%, 7.1%, 69.4%, 28.2%)
CIE-LABlab(68.83, -8.56, 57.66)
CIE-LCHlch(68.83, 58.29, 98.44°)
OKLaboklab(72.83% -0.0291 0.1288)
OKLCHoklch(72.83% 0.132 102.7)
XYZxyz(34.6184, 39.1037, 9.4649)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA38 #3845B7
analogous
#B76B38 #B7AA38 #85B738
triadic
#B7AA38 #38B7AA #AA38B7
tetradic
#B7AA38 #38B76B #3845B7 #B73885
square
#B7AA38 #38B76B #3845B7 #B73885
split-complementary
#B7AA38 #3885B7 #6B38B7
monochromatic
#59531B #887E2A #B7AA38 #CEC25E #DCD48D

Accessibility & contrast

On white

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

On black

8.82
#B7AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA38
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA38#FFFFFF#000000##000000
##B7AA381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A527
Deuteranopia (green-blind)
#BDAB3F
Tritanopia (blue-blind)
#C59E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa38;
/* rgb */ color: rgb(183, 170, 56);
/* oklch */ color: oklch(72.8% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#d0c375',
    500: '#b7aa38',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa38;
$custom-light: #d0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa38",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 53.858,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72833,
    "c": 0.13204,
    "h": 102.7
  },
  "luminance": 0.39102
}

Semantic roles & 50–950 ramp

primary
#B7AA38
secondary
#848BC7
accent
#5ADD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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