#B7BA39#B7BA39

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

Color values

HEX#B7BA39
RGBrgb(183, 186, 57)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 73%)
CMYKcmyk(1.6%, 0%, 69.4%, 27.1%)
CIE-LABlab(73.21, -16.73, 61.64)
CIE-LCHlch(73.21, 63.87, 105.19°)
OKLaboklab(76.33% -0.052 0.1374)
OKLCHoklch(76.33% 0.147 110.7)
XYZxyz(37.8271, 45.4815, 10.6563)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA39 #3C39BA
analogous
#BA7C39 #B7BA39 #77BA39
triadic
#B7BA39 #39B7BA #BA39B7
tetradic
#B7BA39 #39BA7C #3C39BA #BA3977
square
#B7BA39 #39BA7C #3C39BA #BA3977
split-complementary
#B7BA39 #3977BA #7C39BA
monochromatic
#5B5C1C #898B2B #B7BA39 #CCCF61 #DBDD90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BA39#FFFFFF#000000##000000
##B7BA391.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)
#C8B224
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#C4AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba39;
/* rgb */ color: rgb(183, 186, 57);
/* oklch */ color: oklch(76.3% 0.147 110.7);
Tailwind
colors: {
  custom: {
    50: '#d0ce78',
    500: '#b7ba39',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba39;
$custom-light: #d0ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba39",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 61.395,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76328,
    "c": 0.1469,
    "h": 110.7
  },
  "luminance": 0.4548
}

Semantic roles & 50–950 ramp

primary
#B7BA39
secondary
#8887C8
accent
#4BDC4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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