#B2AC2F#B2AC2F

#B2AC2F is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.140 H 106.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B2AC2F
RGBrgb(178, 172, 47)
HSLhsl(57, 58%, 44%)
HSVhsv(57, 74%, 70%)
CMYKcmyk(0%, 3.4%, 73.6%, 30.2%)
CIE-LABlab(68.88, -12.22, 60.94)
CIE-LCHlch(68.88, 62.15, 101.34°)
OKLaboklab(72.75% -0.0401 0.1343)
OKLCHoklch(72.75% 0.14 106.6)
XYZxyz(33.6271, 39.1765, 8.4793)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC2F #2F35B2
analogous
#B26B2F #B2AC2F #77B22F
triadic
#B2AC2F #2FB2AC #AC2FB2
tetradic
#B2AC2F #2FB26B #2F35B2 #B22F77
square
#B2AC2F #2FB26B #2F35B2 #B22F77
split-complementary
#B2AC2F #2F77B2 #6B2FB2
monochromatic
#514E15 #827D22 #B2AC2F #D0CA4E #DDD97E

Accessibility & contrast

On white

2.38
#B2AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B2AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC2F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC2F#FFFFFF#000000##000000
##B2AC2F1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA517
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac2f;
/* rgb */ color: rgb(178, 172, 47);
/* oklch */ color: oklch(72.8% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#cdc471',
    500: '#b2ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac2f;
$custom-light: #cdc471;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac2f",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 57.252,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72752,
    "c": 0.14014,
    "h": 106.6
  },
  "luminance": 0.39175
}

Semantic roles & 50–950 ramp

primary
#B2AC2F
secondary
#777BC6
accent
#4DE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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