#B3AC2E#B3AC2E

#B3AC2E 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#B3AC2E
RGBrgb(179, 172, 46)
HSLhsl(57, 59%, 44%)
HSVhsv(57, 74%, 70%)
CMYKcmyk(0%, 3.9%, 74.3%, 29.8%)
CIE-LABlab(68.96, -11.83, 61.39)
CIE-LCHlch(68.96, 62.52, 100.91°)
OKLaboklab(72.84% -0.0391 0.135)
OKLCHoklch(72.84% 0.141 106.2)
XYZxyz(33.8375, 39.2873, 8.3850)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC2E #2E35B3
analogous
#B36A2E #B3AC2E #78B32E
triadic
#B3AC2E #2EB3AC #AC2EB3
tetradic
#B3AC2E #2EB36A #2E35B3 #B32E78
square
#B3AC2E #2EB36A #2E35B3 #B32E78
split-complementary
#B3AC2E #2E78B3 #6A2EB3
monochromatic
#524E15 #827D21 #B3AC2E #D1CA4D #DED97E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b3ac2e;
/* rgb */ color: rgb(179, 172, 46);
/* oklch */ color: oklch(72.8% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#cdc470',
    500: '#b3ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac2e;
$custom-light: #cdc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac2e",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 56.842,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.14058,
    "h": 106.2
  },
  "luminance": 0.39286
}

Semantic roles & 50–950 ramp

primary
#B3AC2E
secondary
#767BC6
accent
#4EE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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