#B8B130#B8B130

#B8B130 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.143 H 106.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B8B130
RGBrgb(184, 177, 48)
HSLhsl(57, 59%, 45%)
HSVhsv(57, 74%, 72%)
CMYKcmyk(0%, 3.8%, 73.9%, 27.8%)
CIE-LABlab(70.77, -12.15, 62.55)
CIE-LCHlch(70.77, 63.72, 100.99°)
OKLaboklab(74.38% -0.0401 0.1377)
OKLCHoklch(74.38% 0.143 106.2)
XYZxyz(36.0243, 41.8493, 8.9759)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B130 #3037B8
analogous
#B86D30 #B8B130 #7BB830
triadic
#B8B130 #30B8B1 #B130B8
tetradic
#B8B130 #30B86D #3037B8 #B8307B
square
#B8B130 #30B86D #3037B8 #B8307B
split-complementary
#B8B130 #307BB8 #6D30B8
monochromatic
#575417 #878223 #B8B130 #D2CC53 #DFDA84

Accessibility & contrast

On white

2.24
#B8B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B8B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B130
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B130#FFFFFF#000000##000000
##B8B1301.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#C6A598
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b130;
/* rgb */ color: rgb(184, 177, 48);
/* oklch */ color: oklch(74.4% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#d1c872',
    500: '#b8b130',
    950: '#000000',
  },
}
SCSS
$custom: #b8b130;
$custom-light: #d1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b130",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 56.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74382,
    "c": 0.1434,
    "h": 106.2
  },
  "luminance": 0.41848
}

Semantic roles & 50–950 ramp

primary
#B8B130
secondary
#7C80C8
accent
#4EE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B8B130

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

Preview Lab → · Contrast checker → · Palette generator →

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