#B4B92F#B4B92F

#B4B92F is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.153 H 111.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B4B92F
RGBrgb(180, 185, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 75%, 73%)
CMYKcmyk(2.7%, 0%, 74.6%, 27.5%)
CIE-LABlab(72.63, -17.99, 64.53)
CIE-LCHlch(72.63, 66.99, 105.58°)
OKLaboklab(75.79% -0.0563 0.1418)
OKLCHoklch(75.79% 0.153 111.6)
XYZxyz(36.6857, 44.6074, 9.3664)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B92F #342FB9
analogous
#B9792F #B4B92F #6FB92F
triadic
#B4B92F #2FB4B9 #B92FB4
tetradic
#B4B92F #2FB979 #342FB9 #B92F6F
square
#B4B92F #2FB979 #342FB9 #B92F6F
split-complementary
#B4B92F #2F6FB9 #792FB9
monochromatic
#555716 #858823 #B4B92F #CED352 #DCDF83

Accessibility & contrast

On white

2.12
#B4B92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B4B92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B92F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B92F#FFFFFF#000000##000000
##B4B92F1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B00F
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b92f;
/* rgb */ color: rgb(180, 185, 47);
/* oklch */ color: oklch(75.8% 0.153 111.6);
Tailwind
colors: {
  custom: {
    50: '#cecd72',
    500: '#b4b92f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b92f;
$custom-light: #cecd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b92f",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 62.174,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7579,
    "c": 0.15259,
    "h": 111.6
  },
  "luminance": 0.44606
}

Semantic roles & 50–950 ramp

primary
#B4B92F
secondary
#7E7BC9
accent
#45E34B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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