#B2A030#B2A030

#B2A030 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.2% C 0.129 H 99.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B2A030
RGBrgb(178, 160, 48)
HSLhsl(52, 58%, 44%)
HSVhsv(52, 73%, 70%)
CMYKcmyk(0%, 10.1%, 73%, 30.2%)
CIE-LABlab(65.61, -5.88, 57.43)
CIE-LCHlch(65.61, 57.73, 95.84°)
OKLaboklab(70.15% -0.0221 0.1271)
OKLCHoklch(70.15% 0.129 99.9)
XYZxyz(31.4659, 34.8215, 7.8595)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A030 #3042B2
analogous
#B25F30 #B2A030 #83B230
triadic
#B2A030 #30B2A0 #A030B2
tetradic
#B2A030 #30B25F #3042B2 #B23083
square
#B2A030 #30B25F #3042B2 #B23083
split-complementary
#B2A030 #3083B2 #5F30B2
monochromatic
#524916 #827523 #B2A030 #D0BE50 #DDD080

Accessibility & contrast

On white

2.64
#B2A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B2A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A030
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A030#FFFFFF#000000##000000
##B2A0301.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#C0948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b2a030;
/* rgb */ color: rgb(178, 160, 48);
/* oklch */ color: oklch(70.2% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#cdbb70',
    500: '#b2a030',
    950: '#000000',
  },
}
SCSS
$custom: #b2a030;
$custom-light: #cdbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a030",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 51.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.12895,
    "h": 99.9
  },
  "luminance": 0.3482
}

Semantic roles & 50–950 ramp

primary
#B2A030
secondary
#7883C6
accent
#5CE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A030

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

Preview Lab → · Contrast checker → · Palette generator →

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