#B7AC3E#B7AC3E

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

Color values

HEX#B7AC3E
RGBrgb(183, 172, 62)
HSLhsl(55, 49%, 48%)
HSVhsv(55, 66%, 72%)
CMYKcmyk(0%, 6%, 66.1%, 28.2%)
CIE-LABlab(69.41, -9.26, 55.81)
CIE-LCHlch(69.41, 56.57, 99.42°)
OKLaboklab(73.32% -0.0304 0.1259)
OKLCHoklch(73.32% 0.13 103.6)
XYZxyz(35.1518, 39.9215, 10.4105)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC3E #3E49B7
analogous
#B76F3E #B7AC3E #86B73E
triadic
#B7AC3E #3EB7AC #AC3EB7
tetradic
#B7AC3E #3EB76F #3E49B7 #B73E86
square
#B7AC3E #3EB76F #3E49B7 #B73E86
split-complementary
#B7AC3E #3E86B7 #6F3EB7
monochromatic
#5C561F #89812F #B7AC3E #CBC267 #DBD594

Accessibility & contrast

On white

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

On black

8.98
#B7AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC3E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC3E#FFFFFF#000000##000000
##B7AC3E1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA630
Deuteranopia (green-blind)
#BFAC45
Tritanopia (blue-blind)
#C4A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac3e;
/* rgb */ color: rgb(183, 172, 62);
/* oklch */ color: oklch(73.3% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d0c479',
    500: '#b7ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac3e;
$custom-light: #d0c479;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac3e",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 54.545,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73315,
    "c": 0.12953,
    "h": 103.6
  },
  "luminance": 0.3992
}

Semantic roles & 50–950 ramp

primary
#B7AC3E
secondary
#8A90C6
accent
#5BD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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