#B3AC30#B3AC30

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

Color values

HEX#B3AC30
RGBrgb(179, 172, 48)
HSLhsl(57, 58%, 45%)
HSVhsv(57, 73%, 70%)
CMYKcmyk(0%, 3.9%, 73.2%, 29.8%)
CIE-LABlab(68.97, -11.74, 60.70)
CIE-LCHlch(68.97, 61.82, 100.95°)
OKLaboklab(72.85% -0.0387 0.1339)
OKLCHoklch(72.85% 0.139 106.1)
XYZxyz(33.8778, 39.3034, 8.5975)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC30 #3037B3
analogous
#B36B30 #B3AC30 #79B330
triadic
#B3AC30 #30B3AC #AC30B3
tetradic
#B3AC30 #30B36B #3037B3 #B33079
square
#B3AC30 #30B36B #3037B3 #B33079
split-complementary
#B3AC30 #3079B3 #6B30B3
monochromatic
#524F16 #837E23 #B3AC30 #D0C950 #DDD880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AC30#FFFFFF#000000##000000
##B3AC301.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)
#BBA619
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac30;
/* rgb */ color: rgb(179, 172, 48);
/* oklch */ color: oklch(72.8% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#cdc471',
    500: '#b3ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac30;
$custom-light: #cdc471;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac30",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 56.794,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.1394,
    "h": 106.1
  },
  "luminance": 0.39302
}

Semantic roles & 50–950 ramp

primary
#B3AC30
secondary
#797DC6
accent
#4FE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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