#B7BA3A#B7BA3A

#B7BA3A is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.146 H 110.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B7BA3A
RGBrgb(183, 186, 58)
HSLhsl(61, 52%, 48%)
HSVhsv(61, 69%, 73%)
CMYKcmyk(1.6%, 0%, 68.8%, 27.1%)
CIE-LABlab(73.21, -16.68, 61.27)
CIE-LCHlch(73.21, 63.50, 105.23°)
OKLaboklab(76.33% -0.0518 0.1368)
OKLCHoklch(76.33% 0.146 110.7)
XYZxyz(37.8523, 45.4916, 10.7890)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA3A #3D3ABA
analogous
#BA7D3A #B7BA3A #77BA3A
triadic
#B7BA3A #3AB7BA #BA3AB7
tetradic
#B7BA3A #3ABA7D #3D3ABA #BA3A77
square
#B7BA3A #3ABA7D #3D3ABA #BA3A77
split-complementary
#B7BA3A #3A77BA #7D3ABA
monochromatic
#5B5D1D #898B2B #B7BA3A #CCCE63 #DBDD92

Accessibility & contrast

On white

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

On black

10.10
#B7BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA3A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA3A#FFFFFF#000000##000000
##B7BA3A1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#C4AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba3a;
/* rgb */ color: rgb(183, 186, 58);
/* oklch */ color: oklch(76.3% 0.146 110.7);
Tailwind
colors: {
  custom: {
    50: '#d0ce78',
    500: '#b7ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba3a;
$custom-light: #d0ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba3a",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 61.406,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76335,
    "c": 0.14623,
    "h": 110.7
  },
  "luminance": 0.45491
}

Semantic roles & 50–950 ramp

primary
#B7BA3A
secondary
#8988C8
accent
#4CDC4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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