#B7BA2B#B7BA2B

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

Color values

HEX#B7BA2B
RGBrgb(183, 186, 43)
HSLhsl(61, 62%, 45%)
HSVhsv(61, 77%, 73%)
CMYKcmyk(1.6%, 0%, 76.9%, 27.1%)
CIE-LABlab(73.13, -17.38, 66.34)
CIE-LCHlch(73.13, 68.58, 104.68°)
OKLaboklab(76.24% -0.0551 0.1449)
OKLCHoklch(76.24% 0.155 110.8)
XYZxyz(37.5247, 45.3606, 9.0638)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA2B #2E2BBA
analogous
#BA762B #B7BA2B #6FBA2B
triadic
#B7BA2B #2BB7BA #BA2BB7
tetradic
#B7BA2B #2BBA76 #2E2BBA #BA2B6F
square
#B7BA2B #2BBA76 #2E2BBA #BA2B6F
split-complementary
#B7BA2B #2B6FBA #762BBA
monochromatic
#555714 #868820 #B7BA2B #D3D64C #DFE17E

Accessibility & contrast

On white

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

On black

10.07
#B7BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA2B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA2B#FFFFFF#000000##000000
##B7BA2B1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#C4AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba2b;
/* rgb */ color: rgb(183, 186, 43);
/* oklch */ color: oklch(76.2% 0.155 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce71',
    500: '#b7ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba2b;
$custom-light: #d0ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba2b",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 61.259,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7624,
    "c": 0.15497,
    "h": 110.8
  },
  "luminance": 0.4536
}

Semantic roles & 50–950 ramp

primary
#B7BA2B
secondary
#7977CA
accent
#42E646
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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