#B3AC2D#B3AC2D

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

Color values

HEX#B3AC2D
RGBrgb(179, 172, 45)
HSLhsl(57, 60%, 44%)
HSVhsv(57, 75%, 70%)
CMYKcmyk(0%, 3.9%, 74.9%, 29.8%)
CIE-LABlab(68.95, -11.88, 61.73)
CIE-LCHlch(68.95, 62.86, 100.89°)
OKLaboklab(72.83% -0.0393 0.1356)
OKLCHoklch(72.83% 0.141 106.2)
XYZxyz(33.8180, 39.2795, 8.2824)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC2D #2D34B3
analogous
#B3692D #B3AC2D #77B32D
triadic
#B3AC2D #2DB3AC #AC2DB3
tetradic
#B3AC2D #2DB369 #2D34B3 #B32D77
square
#B3AC2D #2DB369 #2D34B3 #B32D77
split-complementary
#B3AC2D #2D77B3 #692DB3
monochromatic
#514E14 #827D21 #B3AC2D #D2CB4B #DED97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AC2D#FFFFFF#000000##000000
##B3AC2D1.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)
#BBA512
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac2d;
/* rgb */ color: rgb(179, 172, 45);
/* oklch */ color: oklch(72.8% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#cdc470',
    500: '#b3ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac2d;
$custom-light: #cdc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac2d",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 56.866,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72828,
    "c": 0.14115,
    "h": 106.2
  },
  "luminance": 0.39278
}

Semantic roles & 50–950 ramp

primary
#B3AC2D
secondary
#7579C7
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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