#B7BA32#B7BA32

#B7BA32 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.151 H 110.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B7BA32
RGBrgb(183, 186, 50)
HSLhsl(61, 58%, 46%)
HSVhsv(61, 73%, 73%)
CMYKcmyk(1.6%, 0%, 73.1%, 27.1%)
CIE-LABlab(73.17, -17.08, 64.11)
CIE-LCHlch(73.17, 66.34, 104.92°)
OKLaboklab(76.28% -0.0536 0.1414)
OKLCHoklch(76.28% 0.151 110.8)
XYZxyz(37.6644, 45.4164, 9.7992)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA32 #3532BA
analogous
#BA7932 #B7BA32 #73BA32
triadic
#B7BA32 #32B7BA #BA32B7
tetradic
#B7BA32 #32BA79 #3532BA #BA3273
square
#B7BA32 #32BA79 #3532BA #BA3273
split-complementary
#B7BA32 #3273BA #7932BA
monochromatic
#585A18 #888A25 #B7BA32 #CFD257 #DDDF88

Accessibility & contrast

On white

2.08
#B7BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#B7BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA32
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA32#FFFFFF#000000##000000
##B7BA321.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B216
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba32;
/* rgb */ color: rgb(183, 186, 50);
/* oklch */ color: oklch(76.3% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce74',
    500: '#b7ba32',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba32;
$custom-light: #d0ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba32",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 61.324,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7628,
    "c": 0.15119,
    "h": 110.8
  },
  "luminance": 0.45415
}

Semantic roles & 50–950 ramp

primary
#B7BA32
secondary
#817FC9
accent
#47E14A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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