#B2AA30#B2AA30

#B2AA30 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.138 H 105.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B2AA30
RGBrgb(178, 170, 48)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 73%, 70%)
CMYKcmyk(0%, 4.5%, 73%, 30.2%)
CIE-LABlab(68.34, -11.14, 60.06)
CIE-LCHlch(68.34, 61.09, 100.51°)
OKLaboklab(72.32% -0.0369 0.1326)
OKLCHoklch(72.32% 0.138 105.6)
XYZxyz(33.2697, 38.4291, 8.4608)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA30 #3038B2
analogous
#B26930 #B2AA30 #79B230
triadic
#B2AA30 #30B2AA #AA30B2
tetradic
#B2AA30 #30B269 #3038B2 #B23079
square
#B2AA30 #30B269 #3038B2 #B23079
split-complementary
#B2AA30 #3079B2 #6930B2
monochromatic
#524E16 #827C23 #B2AA30 #D0C850 #DDD780

Accessibility & contrast

On white

2.42
#B2AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B2AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA30
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA30#FFFFFF#000000##000000
##B2AA301.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2aa30;
/* rgb */ color: rgb(178, 170, 48);
/* oklch */ color: oklch(72.3% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc371',
    500: '#b2aa30',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa30;
$custom-light: #cdc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa30",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 56.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72321,
    "c": 0.13767,
    "h": 105.6
  },
  "luminance": 0.38428
}

Semantic roles & 50–950 ramp

primary
#B2AA30
secondary
#787DC6
accent
#50E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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