#B3AA30#B3AA30

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

Color values

HEX#B3AA30
RGBrgb(179, 170, 48)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 73%, 70%)
CMYKcmyk(0%, 5%, 73.2%, 29.8%)
CIE-LABlab(68.42, -10.70, 60.17)
CIE-LCHlch(68.42, 61.12, 100.08°)
OKLaboklab(72.41% -0.0357 0.1328)
OKLCHoklch(72.41% 0.138 105.1)
XYZxyz(33.5000, 38.5478, 8.4716)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA30 #3039B3
analogous
#B36930 #B3AA30 #7BB330
triadic
#B3AA30 #30B3AA #AA30B3
tetradic
#B3AA30 #30B369 #3039B3 #B3307B
square
#B3AA30 #30B369 #3039B3 #B3307B
split-complementary
#B3AA30 #307BB3 #6930B3
monochromatic
#524E16 #837C23 #B3AA30 #D0C750 #DDD780

Accessibility & contrast

On white

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

On black

8.71
#B3AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA30
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA30#FFFFFF#000000##000000
##B3AA301.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#C09E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa30;
/* rgb */ color: rgb(179, 170, 48);
/* oklch */ color: oklch(72.4% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc371',
    500: '#b3aa30',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa30;
$custom-light: #cdc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa30",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 55.878,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72411,
    "c": 0.13755,
    "h": 105.1
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

primary
#B3AA30
secondary
#797EC6
accent
#51E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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