#B7B92F#B7B92F

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

Color values

HEX#B7B92F
RGBrgb(183, 185, 47)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 75%, 73%)
CMYKcmyk(1.1%, 0%, 74.6%, 27.5%)
CIE-LABlab(72.87, -16.71, 64.84)
CIE-LCHlch(72.87, 66.96, 104.45°)
OKLaboklab(76.04% -0.0529 0.1424)
OKLCHoklch(76.04% 0.152 110.4)
XYZxyz(37.3918, 44.9715, 9.3995)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B92F #312FB9
analogous
#B9762F #B7B92F #72B92F
triadic
#B7B92F #2FB7B9 #B92FB7
tetradic
#B7B92F #2FB976 #312FB9 #B92F72
square
#B7B92F #2FB976 #312FB9 #B92F72
split-complementary
#B7B92F #2F72B9 #762FB9
monochromatic
#565716 #878823 #B7B92F #D1D352 #DEDF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B92F#FFFFFF#000000##000000
##B7B92F1.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)
#C8B10F
Deuteranopia (green-blind)
#C9B53A
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b92f;
/* rgb */ color: rgb(183, 185, 47);
/* oklch */ color: oklch(76.0% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#d0cd72',
    500: '#b7b92f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b92f;
$custom-light: #d0cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b92f",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 60.87,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.15188,
    "h": 110.4
  },
  "luminance": 0.4497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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