#B7B92A#B7B92A

#B7B92A is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.0% C 0.154 H 110.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B7B92A
RGBrgb(183, 185, 42)
HSLhsl(61, 63%, 45%)
HSVhsv(61, 77%, 73%)
CMYKcmyk(1.1%, 0%, 77.3%, 27.5%)
CIE-LABlab(72.85, -16.91, 66.39)
CIE-LCHlch(72.85, 68.51, 104.29°)
OKLaboklab(76.01% -0.0539 0.1448)
OKLCHoklch(76.01% 0.154 110.4)
XYZxyz(37.2967, 44.9334, 8.8984)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B92A #2C2AB9
analogous
#B9742A #B7B92A #70B92A
triadic
#B7B92A #2AB7B9 #B92AB7
tetradic
#B7B92A #2AB974 #2C2AB9 #B92A70
square
#B7B92A #2AB974 #2C2AB9 #B92A70
split-complementary
#B7B92A #2A70B9 #742AB9
monochromatic
#545513 #86871F #B7B92A #D4D64A #E0E17C

Accessibility & contrast

On white

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

On black

9.99
#B7B92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B92A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B92A#FFFFFF#000000##000000
##B7B92A1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C9B537
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b92a;
/* rgb */ color: rgb(183, 185, 42);
/* oklch */ color: oklch(76.0% 0.154 110.4);
Tailwind
colors: {
  custom: {
    50: '#d0cd70',
    500: '#b7b92a',
    950: '#000000',
  },
}
SCSS
$custom: #b7b92a;
$custom-light: #d0cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b92a",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 60.839,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76014,
    "c": 0.15447,
    "h": 110.4
  },
  "luminance": 0.44932
}

Semantic roles & 50–950 ramp

primary
#B7B92A
secondary
#7675CA
accent
#42E644
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B92A

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

Preview Lab → · Contrast checker → · Palette generator →

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