#B8A630#B8A630

#B8A630 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.134 H 100.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B8A630
RGBrgb(184, 166, 48)
HSLhsl(52, 59%, 45%)
HSVhsv(52, 74%, 72%)
CMYKcmyk(0%, 9.8%, 73.9%, 27.8%)
CIE-LABlab(67.78, -6.41, 59.72)
CIE-LCHlch(67.78, 60.06, 96.13°)
OKLaboklab(72.01% -0.0239 0.1317)
OKLCHoklch(72.01% 0.134 100.3)
XYZxyz(33.9385, 37.6778, 8.2806)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A630 #3042B8
analogous
#B86230 #B8A630 #86B830
triadic
#B8A630 #30B8A6 #A630B8
tetradic
#B8A630 #30B862 #3042B8 #B83086
square
#B8A630 #30B862 #3042B8 #B83086
split-complementary
#B8A630 #3086B8 #6230B8
monochromatic
#574E17 #877A23 #B8A630 #D2C153 #DFD384

Accessibility & contrast

On white

2.46
#B8A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B8A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A630
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A630#FFFFFF#000000##000000
##B8A6301.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#C69A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a630;
/* rgb */ color: rgb(184, 166, 48);
/* oklch */ color: oklch(72.0% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#d1c071',
    500: '#b8a630',
    950: '#000000',
  },
}
SCSS
$custom: #b8a630;
$custom-light: #d1c071;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a630",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 52.059,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72009,
    "c": 0.13382,
    "h": 100.3
  },
  "luminance": 0.37676
}

Semantic roles & 50–950 ramp

primary
#B8A630
secondary
#7C86C8
accent
#5BE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A630

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

Preview Lab → · Contrast checker → · Palette generator →

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