#B4B92D#B4B92D

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

Color values

HEX#B4B92D
RGBrgb(180, 185, 45)
HSLhsl(62, 61%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.7%, 0%, 75.7%, 27.5%)
CIE-LABlab(72.62, -18.08, 65.17)
CIE-LCHlch(72.62, 67.63, 105.50°)
OKLaboklab(75.78% -0.0567 0.1428)
OKLCHoklch(75.78% 0.154 111.7)
XYZxyz(36.6463, 44.5916, 9.1587)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B92D #322DB9
analogous
#B9782D #B4B92D #6EB92D
triadic
#B4B92D #2DB4B9 #B92DB4
tetradic
#B4B92D #2DB978 #322DB9 #B92D6E
square
#B4B92D #2DB978 #322DB9 #B92D6E
split-complementary
#B4B92D #2D6EB9 #782DB9
monochromatic
#545715 #848821 #B4B92D #CFD44F #DDE080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B92D#FFFFFF#000000##000000
##B4B92D1.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)
#C8B008
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b92d;
/* rgb */ color: rgb(180, 185, 45);
/* oklch */ color: oklch(75.8% 0.154 111.7);
Tailwind
colors: {
  custom: {
    50: '#cecd71',
    500: '#b4b92d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b92d;
$custom-light: #cecd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b92d",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 45
  },
  "hsl": {
    "h": 62.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75779,
    "c": 0.15366,
    "h": 111.7
  },
  "luminance": 0.44591
}

Semantic roles & 50–950 ramp

primary
#B4B92D
secondary
#7C79C9
accent
#44E44A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B92D

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

Preview Lab → · Contrast checker → · Palette generator →

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