#B8B32F#B8B32F

#B8B32F 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#B8B32F
RGBrgb(184, 179, 47)
HSLhsl(58, 59%, 45%)
HSVhsv(58, 74%, 72%)
CMYKcmyk(0%, 2.7%, 74.5%, 27.8%)
CIE-LABlab(71.31, -13.22, 63.41)
CIE-LCHlch(71.31, 64.77, 101.78°)
OKLaboklab(74.81% -0.0432 0.1393)
OKLCHoklch(74.81% 0.146 107.2)
XYZxyz(36.4018, 42.6371, 9.0011)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B32F #2F34B8
analogous
#B86E2F #B8B32F #79B82F
triadic
#B8B32F #2FB8B3 #B32FB8
tetradic
#B8B32F #2FB86E #2F34B8 #B82F79
square
#B8B32F #2FB86E #2F34B8 #B82F79
split-complementary
#B8B32F #2F79B8 #6E2FB8
monochromatic
#575416 #878423 #B8B32F #D3CE52 #DFDC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B32F#FFFFFF#000000##000000
##B8B32F1.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)
#C2AC13
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#C6A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b32f;
/* rgb */ color: rgb(184, 179, 47);
/* oklch */ color: oklch(74.8% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#d1c972',
    500: '#b8b32f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b32f;
$custom-light: #d1c972;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b32f",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 57.81,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.14584,
    "h": 107.2
  },
  "luminance": 0.42636
}

Semantic roles & 50–950 ramp

primary
#B8B32F
secondary
#7B7DC8
accent
#4BE245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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