#B4B92C#B4B92C

#B4B92C 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#B4B92C
RGBrgb(180, 185, 44)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.7%, 0%, 76.2%, 27.5%)
CIE-LABlab(72.62, -18.12, 65.48)
CIE-LCHlch(72.62, 67.94, 105.47°)
OKLaboklab(75.77% -0.0569 0.1433)
OKLCHoklch(75.77% 0.154 111.7)
XYZxyz(36.6272, 44.5840, 9.0585)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B92C #312CB9
analogous
#B9782C #B4B92C #6DB92C
triadic
#B4B92C #2CB4B9 #B92CB4
tetradic
#B4B92C #2CB978 #312CB9 #B92C6D
square
#B4B92C #2CB978 #312CB9 #B92C6D
split-complementary
#B4B92C #2C6DB9 #782CB9
monochromatic
#545614 #848820 #B4B92C #D0D54D #DDE17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B92C#FFFFFF#000000##000000
##B4B92C1.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)
#C8B005
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b92c;
/* rgb */ color: rgb(180, 185, 44);
/* oklch */ color: oklch(75.8% 0.154 111.7);
Tailwind
colors: {
  custom: {
    50: '#cecd71',
    500: '#b4b92c',
    950: '#000000',
  },
}
SCSS
$custom: #b4b92c;
$custom-light: #cecd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b92c",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 62.128,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75773,
    "c": 0.15419,
    "h": 111.7
  },
  "luminance": 0.44583
}

Semantic roles & 50–950 ramp

primary
#B4B92C
secondary
#7B78C9
accent
#43E549
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B92C

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

Preview Lab → · Contrast checker → · Palette generator →

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