#B2AC2D#B2AC2D

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

Color values

HEX#B2AC2D
RGBrgb(178, 172, 45)
HSLhsl(57, 60%, 44%)
HSVhsv(57, 75%, 70%)
CMYKcmyk(0%, 3.4%, 74.7%, 30.2%)
CIE-LABlab(68.87, -12.31, 61.62)
CIE-LCHlch(68.87, 62.84, 101.30°)
OKLaboklab(72.74% -0.0405 0.1354)
OKLCHoklch(72.74% 0.141 106.7)
XYZxyz(33.5876, 39.1607, 8.2716)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC2D #2D33B2
analogous
#B2692D #B2AC2D #75B22D
triadic
#B2AC2D #2DB2AC #AC2DB2
tetradic
#B2AC2D #2DB269 #2D33B2 #B22D75
square
#B2AC2D #2DB269 #2D33B2 #B22D75
split-complementary
#B2AC2D #2D75B2 #692DB2
monochromatic
#504E14 #817D21 #B2AC2D #D1CB4B #DED97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC2D#FFFFFF#000000##000000
##B2AC2D1.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)
#BBA512
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac2d;
/* rgb */ color: rgb(178, 172, 45);
/* oklch */ color: oklch(72.7% 0.141 106.7);
Tailwind
colors: {
  custom: {
    50: '#cdc470',
    500: '#b2ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac2d;
$custom-light: #cdc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac2d",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 57.293,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72739,
    "c": 0.14129,
    "h": 106.7
  },
  "luminance": 0.39159
}

Semantic roles & 50–950 ramp

primary
#B2AC2D
secondary
#7578C6
accent
#4CE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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