#B7AC47#B7AC47

#B7AC47 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.122 H 103.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B7AC47
RGBrgb(183, 172, 71)
HSLhsl(54, 44%, 50%)
HSVhsv(54, 61%, 72%)
CMYKcmyk(0%, 6%, 61.2%, 28.2%)
CIE-LABlab(69.49, -8.68, 51.99)
CIE-LCHlch(69.49, 52.71, 99.48°)
OKLaboklab(73.4% -0.0278 0.1192)
OKLCHoklch(73.4% 0.122 103.1)
XYZxyz(35.4196, 40.0286, 11.8206)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC47 #4752B7
analogous
#B77447 #B7AC47 #8AB747
triadic
#B7AC47 #47B7AC #AC47B7
tetradic
#B7AC47 #47B774 #4752B7 #B7478A
square
#B7AC47 #47B774 #4752B7 #B7478A
split-complementary
#B7AC47 #478AB7 #7447B7
monochromatic
#5F5925 #8B8336 #B7AC47 #C9C073 #DAD49F

Accessibility & contrast

On white

2.33
#B7AC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B7AC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC47
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC47#FFFFFF#000000##000000
##B7AC471.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ac47;
/* rgb */ color: rgb(183, 172, 71);
/* oklch */ color: oklch(73.4% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#cfc47e',
    500: '#b7ac47',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac47;
$custom-light: #cfc47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac47",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 54.107,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.734,
    "c": 0.12235,
    "h": 103.1
  },
  "luminance": 0.40027
}

Semantic roles & 50–950 ramp

primary
#B7AC47
secondary
#9499C6
accent
#61D454
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AC47

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

Preview Lab → · Contrast checker → · Palette generator →

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