#B8B92F#B8B92F

#B8B92F is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.152 H 109.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B8B92F
RGBrgb(184, 185, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0.5%, 0%, 74.6%, 27.5%)
CIE-LABlab(72.95, -16.28, 64.94)
CIE-LCHlch(72.95, 66.95, 104.07°)
OKLaboklab(76.13% -0.0517 0.1426)
OKLCHoklch(76.13% 0.152 109.9)
XYZxyz(37.6306, 45.0946, 9.4107)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B92F #302FB9
analogous
#B9752F #B8B92F #73B92F
triadic
#B8B92F #2FB8B9 #B92FB8
tetradic
#B8B92F #2FB975 #302FB9 #B92F73
square
#B8B92F #2FB975 #302FB9 #B92F73
split-complementary
#B8B92F #2F73B9 #752FB9
monochromatic
#575716 #878823 #B8B92F #D2D352 #DFDF83

Accessibility & contrast

On white

2.10
#B8B92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#B8B92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B92F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B92F#FFFFFF#000000##000000
##B8B92F1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10F
Deuteranopia (green-blind)
#C9B53A
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b92f;
/* rgb */ color: rgb(184, 185, 47);
/* oklch */ color: oklch(76.1% 0.152 109.9);
Tailwind
colors: {
  custom: {
    50: '#d1cd72',
    500: '#b8b92f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b92f;
$custom-light: #d1cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b92f",
  "rgb": {
    "r": 184,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 60.435,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76126,
    "c": 0.15166,
    "h": 109.9
  },
  "luminance": 0.45094
}

Semantic roles & 50–950 ramp

primary
#B8B92F
secondary
#7C7BC9
accent
#45E346
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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