#B8B32E#B8B32E

#B8B32E is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.146 H 107.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B8B32E
RGBrgb(184, 179, 46)
HSLhsl(58, 60%, 45%)
HSVhsv(58, 75%, 72%)
CMYKcmyk(0%, 2.7%, 75%, 27.8%)
CIE-LABlab(71.30, -13.27, 63.74)
CIE-LCHlch(71.30, 65.10, 101.76°)
OKLaboklab(74.81% -0.0434 0.1398)
OKLCHoklch(74.81% 0.146 107.2)
XYZxyz(36.3819, 42.6291, 8.8960)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B32E #2E33B8
analogous
#B86E2E #B8B32E #78B82E
triadic
#B8B32E #2EB8B3 #B32EB8
tetradic
#B8B32E #2EB86E #2E33B8 #B82E78
square
#B8B32E #2EB86E #2E33B8 #B82E78
split-complementary
#B8B32E #2E78B8 #6E2EB8
monochromatic
#565416 #878322 #B8B32E #D3CE50 #DFDC81

Accessibility & contrast

On white

2.20
#B8B32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B8B32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B32E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B32E#FFFFFF#000000##000000
##B8B32E1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C6A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b32e;
/* rgb */ color: rgb(184, 179, 46);
/* oklch */ color: oklch(74.8% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#d1c971',
    500: '#b8b32e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b32e;
$custom-light: #d1c971;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b32e",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 57.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.1464,
    "h": 107.2
  },
  "luminance": 0.42628
}

Semantic roles & 50–950 ramp

primary
#B8B32E
secondary
#797CC8
accent
#4AE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B32E

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

Preview Lab → · Contrast checker → · Palette generator →

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