#B7BA38#B7BA38

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

Color values

HEX#B7BA38
RGBrgb(183, 186, 56)
HSLhsl(61, 54%, 47%)
HSVhsv(61, 70%, 73%)
CMYKcmyk(1.6%, 0%, 69.9%, 27.1%)
CIE-LABlab(73.20, -16.79, 62.00)
CIE-LCHlch(73.20, 64.24, 105.15°)
OKLaboklab(76.32% -0.0523 0.138)
OKLCHoklch(76.32% 0.148 110.7)
XYZxyz(37.8024, 45.4716, 10.5262)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA38 #3B38BA
analogous
#BA7C38 #B7BA38 #76BA38
triadic
#B7BA38 #38B7BA #BA38B7
tetradic
#B7BA38 #38BA7C #3B38BA #BA3876
square
#B7BA38 #38BA7C #3B38BA #BA3876
split-complementary
#B7BA38 #3876BA #7C38BA
monochromatic
#5A5C1C #898B2A #B7BA38 #CDCF60 #DCDD8F

Accessibility & contrast

On white

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

On black

10.09
#B7BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA38
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA38#FFFFFF#000000##000000
##B7BA381.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ba38;
/* rgb */ color: rgb(183, 186, 56);
/* oklch */ color: oklch(76.3% 0.148 110.7);
Tailwind
colors: {
  custom: {
    50: '#d0ce77',
    500: '#b7ba38',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba38;
$custom-light: #d0ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba38",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 61.385,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76321,
    "c": 0.14755,
    "h": 110.7
  },
  "luminance": 0.45471
}

Semantic roles & 50–950 ramp

primary
#B7BA38
secondary
#8786C8
accent
#4BDD4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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