#B8A130#B8A130

#B8A130 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.130 H 97.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B8A130
RGBrgb(184, 161, 48)
HSLhsl(50, 59%, 45%)
HSVhsv(50, 74%, 72%)
CMYKcmyk(0%, 12.5%, 73.9%, 27.8%)
CIE-LABlab(66.44, -3.75, 58.43)
CIE-LCHlch(66.44, 58.55, 93.68°)
OKLaboklab(70.95% -0.0164 0.1289)
OKLCHoklch(70.95% 0.13 97.2)
XYZxyz(33.0472, 35.8952, 7.9835)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A130 #3047B8
analogous
#B85D30 #B8A130 #8BB830
triadic
#B8A130 #30B8A1 #A130B8
tetradic
#B8A130 #30B85D #3047B8 #B8308B
square
#B8A130 #30B85D #3047B8 #B8308B
split-complementary
#B8A130 #308BB8 #5D30B8
monochromatic
#574C17 #877723 #B8A130 #D2BD53 #DFCF84

Accessibility & contrast

On white

2.57
#B8A130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B8A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A130
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A130#FFFFFF#000000##000000
##B8A1301.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#C7958B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a130;
/* rgb */ color: rgb(184, 161, 48);
/* oklch */ color: oklch(70.9% 0.130 97.2);
Tailwind
colors: {
  custom: {
    50: '#d1bc70',
    500: '#b8a130',
    950: '#000000',
  },
}
SCSS
$custom: #b8a130;
$custom-light: #d1bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a130",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 49.853,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70945,
    "c": 0.12997,
    "h": 97.2
  },
  "luminance": 0.35893
}

Semantic roles & 50–950 ramp

primary
#B8A130
secondary
#7C89C8
accent
#60E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B8A130

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

Preview Lab → · Contrast checker → · Palette generator →

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