#B7AC2E#B7AC2E

#B7AC2E is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.140 H 104.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B7AC2E
RGBrgb(183, 172, 46)
HSLhsl(55, 60%, 45%)
HSVhsv(55, 75%, 72%)
CMYKcmyk(0%, 6%, 74.9%, 28.2%)
CIE-LABlab(69.31, -10.08, 61.84)
CIE-LCHlch(69.31, 62.66, 99.26°)
OKLaboklab(73.19% -0.0344 0.1358)
OKLCHoklch(73.19% 0.14 104.2)
XYZxyz(34.7756, 39.7710, 8.4290)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC2E #2E39B7
analogous
#B7672E #B7AC2E #7EB72E
triadic
#B7AC2E #2EB7AC #AC2EB7
tetradic
#B7AC2E #2EB767 #2E39B7 #B72E7E
square
#B7AC2E #2EB767 #2E39B7 #B72E7E
split-complementary
#B7AC2E #2E7EB7 #672EB7
monochromatic
#555015 #867E22 #B7AC2E #D3C84F #DFD880

Accessibility & contrast

On white

2.35
#B7AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B7AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC2E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC2E#FFFFFF#000000##000000
##B7AC2E1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA614
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#C5A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac2e;
/* rgb */ color: rgb(183, 172, 46);
/* oklch */ color: oklch(73.2% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c470',
    500: '#b7ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac2e;
$custom-light: #d0c470;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac2e",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 55.182,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.14012,
    "h": 104.2
  },
  "luminance": 0.3977
}

Semantic roles & 50–950 ramp

primary
#B7AC2E
secondary
#797FC8
accent
#52E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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