#B2A130#B2A130

#B2A130 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.130 H 100.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B2A130
RGBrgb(178, 161, 48)
HSLhsl(52, 58%, 44%)
HSVhsv(52, 73%, 70%)
CMYKcmyk(0%, 9.6%, 73%, 30.2%)
CIE-LABlab(65.88, -6.41, 57.69)
CIE-LCHlch(65.88, 58.05, 96.34°)
OKLaboklab(70.37% -0.0236 0.1276)
OKLCHoklch(70.37% 0.13 100.5)
XYZxyz(31.6399, 35.1696, 7.9176)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A130 #3041B2
analogous
#B26030 #B2A130 #82B230
triadic
#B2A130 #30B2A1 #A130B2
tetradic
#B2A130 #30B260 #3041B2 #B23082
square
#B2A130 #30B260 #3041B2 #B23082
split-complementary
#B2A130 #3082B2 #6030B2
monochromatic
#524A16 #827523 #B2A130 #D0BF50 #DDD180

Accessibility & contrast

On white

2.61
#B2A130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B2A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A130
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A130#FFFFFF#000000##000000
##B2A1301.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a130;
/* rgb */ color: rgb(178, 161, 48);
/* oklch */ color: oklch(70.4% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#cdbc70',
    500: '#b2a130',
    950: '#000000',
  },
}
SCSS
$custom: #b2a130;
$custom-light: #cdbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a130",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 52.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.12977,
    "h": 100.5
  },
  "luminance": 0.35168
}

Semantic roles & 50–950 ramp

primary
#B2A130
secondary
#7882C6
accent
#5BE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A130

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

Preview Lab → · Contrast checker → · Palette generator →

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