#B7AC45#B7AC45

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

Color values

HEX#B7AC45
RGBrgb(183, 172, 69)
HSLhsl(54, 45%, 49%)
HSVhsv(54, 62%, 72%)
CMYKcmyk(0%, 6%, 62.3%, 28.2%)
CIE-LABlab(69.47, -8.82, 52.86)
CIE-LCHlch(69.47, 53.59, 99.47°)
OKLaboklab(73.38% -0.0284 0.1207)
OKLCHoklch(73.38% 0.124 103.2)
XYZxyz(35.3565, 40.0033, 11.4881)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC45 #4550B7
analogous
#B77345 #B7AC45 #89B745
triadic
#B7AC45 #45B7AC #AC45B7
tetradic
#B7AC45 #45B773 #4550B7 #B74589
square
#B7AC45 #45B773 #4550B7 #B74589
split-complementary
#B7AC45 #4589B7 #7345B7
monochromatic
#5E5823 #8B8234 #B7AC45 #C9C170 #DAD49D

Accessibility & contrast

On white

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

On black

9.00
#B7AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC45
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC45#FFFFFF#000000##000000
##B7AC451.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ac45;
/* rgb */ color: rgb(183, 172, 69);
/* oklch */ color: oklch(73.4% 0.124 103.2);
Tailwind
colors: {
  custom: {
    50: '#cfc47d',
    500: '#b7ac45',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac45;
$custom-light: #cfc47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac45",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 54.211,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7338,
    "c": 0.12402,
    "h": 103.2
  },
  "luminance": 0.40002
}

Semantic roles & 50–950 ramp

primary
#B7AC45
secondary
#9297C6
accent
#5FD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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