#B2AC4E#B2AC4E

#B2AC4E is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.116 H 105.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B2AC4E
RGBrgb(178, 172, 78)
HSLhsl(56, 39%, 50%)
HSVhsv(56, 56%, 70%)
CMYKcmyk(0%, 3.4%, 56.2%, 30.2%)
CIE-LABlab(69.13, -10.30, 48.24)
CIE-LCHlch(69.13, 49.33, 102.05°)
OKLaboklab(73.03% -0.0313 0.1122)
OKLCHoklch(73.03% 0.116 105.6)
XYZxyz(34.4888, 39.5212, 13.0179)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC4E #4E54B2
analogous
#B27A4E #B2AC4E #86B24E
triadic
#B2AC4E #4EB2AC #AC4EB2
tetradic
#B2AC4E #4EB27A #4E54B2 #B24E86
square
#B2AC4E #4EB27A #4E54B2 #B24E86
split-complementary
#B2AC4E #4E86B2 #7A4EB2
monochromatic
#5D5A29 #88833B #B2AC4E #C5C079 #D7D4A3

Accessibility & contrast

On white

2.36
#B2AC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#B2AC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC4E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC4E#FFFFFF#000000##000000
##B2AC4E1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A644
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#BEA297
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ac4e;
/* rgb */ color: rgb(178, 172, 78);
/* oklch */ color: oklch(73.0% 0.116 105.6);
Tailwind
colors: {
  custom: {
    50: '#cbc483',
    500: '#b2ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac4e;
$custom-light: #cbc483;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac4e",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 56.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73029,
    "c": 0.11644,
    "h": 105.6
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#B2AC4E
secondary
#989AC4
accent
#60CF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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