#B2AC3E#B2AC3E

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

Color values

HEX#B2AC3E
RGBrgb(178, 172, 62)
HSLhsl(57, 48%, 47%)
HSVhsv(57, 65%, 70%)
CMYKcmyk(0%, 3.4%, 65.2%, 30.2%)
CIE-LABlab(68.98, -11.42, 55.23)
CIE-LCHlch(68.98, 56.40, 101.69°)
OKLaboklab(72.87% -0.0363 0.1248)
OKLCHoklch(72.87% 0.13 106.2)
XYZxyz(33.9833, 39.3190, 10.3557)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC3E #3E44B2
analogous
#B2723E #B2AC3E #7EB23E
triadic
#B2AC3E #3EB2AC #AC3EB2
tetradic
#B2AC3E #3EB272 #3E44B2 #B23E7E
square
#B2AC3E #3EB272 #3E44B2 #B23E7E
split-complementary
#B2AC3E #3E7EB2 #723EB2
monochromatic
#57541E #85802E #B2AC3E #C9C464 #D9D592

Accessibility & contrast

On white

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

On black

8.86
#B2AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC3E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC3E#FFFFFF#000000##000000
##B2AC3E1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ac3e;
/* rgb */ color: rgb(178, 172, 62);
/* oklch */ color: oklch(72.9% 0.130 106.2);
Tailwind
colors: {
  custom: {
    50: '#ccc479',
    500: '#b2ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac3e;
$custom-light: #ccc479;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac3e",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 56.897,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.12998,
    "h": 106.2
  },
  "luminance": 0.39318
}

Semantic roles & 50–950 ramp

primary
#B2AC3E
secondary
#888BC4
accent
#57D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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