#B2AC3F#B2AC3F

#B2AC3F is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.129 H 106.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B2AC3F
RGBrgb(178, 172, 63)
HSLhsl(57, 48%, 47%)
HSVhsv(57, 65%, 70%)
CMYKcmyk(0%, 3.4%, 64.6%, 30.2%)
CIE-LABlab(68.99, -11.36, 54.81)
CIE-LCHlch(68.99, 55.98, 101.71°)
OKLaboklab(72.88% -0.036 0.1241)
OKLCHoklch(72.88% 0.129 106.2)
XYZxyz(34.0110, 39.3301, 10.5016)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC3F #3F45B2
analogous
#B2733F #B2AC3F #7EB23F
triadic
#B2AC3F #3FB2AC #AC3FB2
tetradic
#B2AC3F #3FB273 #3F45B2 #B23F7E
square
#B2AC3F #3FB273 #3F45B2 #B23F7E
split-complementary
#B2AC3F #3F7EB2 #733FB2
monochromatic
#58551F #85802F #B2AC3F #C9C466 #D9D593

Accessibility & contrast

On white

2.37
#B2AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B2AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC3F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC3F#FFFFFF#000000##000000
##B2AC3F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#BDAA46
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac3f;
/* rgb */ color: rgb(178, 172, 63);
/* oklch */ color: oklch(72.9% 0.129 106.2);
Tailwind
colors: {
  custom: {
    50: '#ccc479',
    500: '#b2ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac3f;
$custom-light: #ccc479;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac3f",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 56.87,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.12922,
    "h": 106.2
  },
  "luminance": 0.39329
}

Semantic roles & 50–950 ramp

primary
#B2AC3F
secondary
#898CC4
accent
#58D750
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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