#B2AC2E#B2AC2E

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

Color values

HEX#B2AC2E
RGBrgb(178, 172, 46)
HSLhsl(57, 59%, 44%)
HSVhsv(57, 74%, 70%)
CMYKcmyk(0%, 3.4%, 74.2%, 30.2%)
CIE-LABlab(68.87, -12.27, 61.28)
CIE-LCHlch(68.87, 62.50, 101.32°)
OKLaboklab(72.75% -0.0403 0.1348)
OKLCHoklch(72.75% 0.141 106.6)
XYZxyz(33.6071, 39.1685, 8.3742)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC2E #2E34B2
analogous
#B26A2E #B2AC2E #76B22E
triadic
#B2AC2E #2EB2AC #AC2EB2
tetradic
#B2AC2E #2EB26A #2E34B2 #B22E76
square
#B2AC2E #2EB26A #2E34B2 #B22E76
split-complementary
#B2AC2E #2E76B2 #6A2EB2
monochromatic
#514E15 #817D21 #B2AC2E #D1CB4C #DDD97D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC2E#FFFFFF#000000##000000
##B2AC2E1.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)
#BBA514
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac2e;
/* rgb */ color: rgb(178, 172, 46);
/* oklch */ color: oklch(72.7% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#cdc470',
    500: '#b2ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac2e;
$custom-light: #cdc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac2e",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 57.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72746,
    "c": 0.14072,
    "h": 106.6
  },
  "luminance": 0.39167
}

Semantic roles & 50–950 ramp

primary
#B2AC2E
secondary
#7679C6
accent
#4DE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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