#B7AC40#B7AC40

#B7AC40 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.128 H 103.5°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B7AC40
RGBrgb(183, 172, 64)
HSLhsl(54, 48%, 48%)
HSVhsv(54, 65%, 72%)
CMYKcmyk(0%, 6%, 65%, 28.2%)
CIE-LABlab(69.43, -9.14, 54.98)
CIE-LCHlch(69.43, 55.74, 99.44°)
OKLaboklab(73.33% -0.0299 0.1245)
OKLCHoklch(73.33% 0.128 103.5)
XYZxyz(35.2077, 39.9438, 10.7049)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC40 #404BB7
analogous
#B77040 #B7AC40 #86B740
triadic
#B7AC40 #40B7AC #AC40B7
tetradic
#B7AC40 #40B770 #404BB7 #B74086
square
#B7AC40 #40B770 #404BB7 #B74086
split-complementary
#B7AC40 #4086B7 #7040B7
monochromatic
#5C5720 #8A8130 #B7AC40 #CBC269 #DBD497

Accessibility & contrast

On white

2.34
#B7AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B7AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC40
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC40#FFFFFF#000000##000000
##B7AC401.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#C4A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ac40;
/* rgb */ color: rgb(183, 172, 64);
/* oklch */ color: oklch(73.3% 0.128 103.5);
Tailwind
colors: {
  custom: {
    50: '#d0c47a',
    500: '#b7ac40',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac40;
$custom-light: #d0c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac40",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 54.454,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73332,
    "c": 0.12801,
    "h": 103.5
  },
  "luminance": 0.39942
}

Semantic roles & 50–950 ramp

primary
#B7AC40
secondary
#8D92C6
accent
#5DD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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