#B7AC46#B7AC46

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

Color values

HEX#B7AC46
RGBrgb(183, 172, 70)
HSLhsl(54, 45%, 50%)
HSVhsv(54, 62%, 72%)
CMYKcmyk(0%, 6%, 61.7%, 28.2%)
CIE-LABlab(69.48, -8.75, 52.42)
CIE-LCHlch(69.48, 53.15, 99.48°)
OKLaboklab(73.39% -0.0281 0.12)
OKLCHoklch(73.39% 0.123 103.2)
XYZxyz(35.3878, 40.0159, 11.6529)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC46 #4651B7
analogous
#B77346 #B7AC46 #8AB746
triadic
#B7AC46 #46B7AC #AC46B7
tetradic
#B7AC46 #46B773 #4651B7 #B7468A
square
#B7AC46 #46B773 #4651B7 #B7468A
split-complementary
#B7AC46 #468AB7 #7346B7
monochromatic
#5E5924 #8B8235 #B7AC46 #C9C071 #DAD49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AC46#FFFFFF#000000##000000
##B7AC461.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)
#BAA73A
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#C4A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ac46;
/* rgb */ color: rgb(183, 172, 70);
/* oklch */ color: oklch(73.4% 0.123 103.2);
Tailwind
colors: {
  custom: {
    50: '#cfc47e',
    500: '#b7ac46',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac46;
$custom-light: #cfc47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac46",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 70
  },
  "hsl": {
    "h": 54.159,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7339,
    "c": 0.12319,
    "h": 103.2
  },
  "luminance": 0.40015
}

Semantic roles & 50–950 ramp

primary
#B7AC46
secondary
#9398C6
accent
#60D453
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AC46

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

Preview Lab → · Contrast checker → · Palette generator →

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