#B3AA28#B3AA28

#B3AA28 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.142 H 105.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B3AA28
RGBrgb(179, 170, 40)
HSLhsl(56, 63%, 43%)
HSVhsv(56, 78%, 70%)
CMYKcmyk(0%, 5%, 77.7%, 29.8%)
CIE-LABlab(68.38, -11.04, 62.85)
CIE-LCHlch(68.38, 63.81, 99.97°)
OKLaboklab(72.36% -0.0374 0.137)
OKLCHoklch(72.36% 0.142 105.3)
XYZxyz(33.3496, 38.4877, 7.6792)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA28 #2831B3
analogous
#B36428 #B3AA28 #76B328
triadic
#B3AA28 #28B3AA #AA28B3
tetradic
#B3AA28 #28B364 #2831B3 #B32876
square
#B3AA28 #28B364 #2831B3 #B32876
split-complementary
#B3AA28 #2876B3 #6428B3
monochromatic
#4F4B12 #817A1D #B3AA28 #D5CC43 #E0D975

Accessibility & contrast

On white

2.41
#B3AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B3AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA28
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA28#FFFFFF#000000##000000
##B3AA281.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A404
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa28;
/* rgb */ color: rgb(179, 170, 40);
/* oklch */ color: oklch(72.4% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#cec26d',
    500: '#b3aa28',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa28;
$custom-light: #cec26d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa28",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 56.115,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72362,
    "c": 0.14202,
    "h": 105.3
  },
  "luminance": 0.38486
}

Semantic roles & 50–950 ramp

primary
#B3AA28
secondary
#6F75C8
accent
#4CE641
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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