#B6BA38#B6BA38

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

Color values

HEX#B6BA38
RGBrgb(182, 186, 56)
HSLhsl(62, 54%, 47%)
HSVhsv(62, 70%, 73%)
CMYKcmyk(2.2%, 0%, 69.9%, 27.1%)
CIE-LABlab(73.12, -17.21, 61.90)
CIE-LCHlch(73.12, 64.25, 105.54°)
OKLaboklab(76.24% -0.0534 0.1378)
OKLCHoklch(76.24% 0.148 111.2)
XYZxyz(37.5653, 45.3494, 10.5151)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA38 #3C38BA
analogous
#BA7D38 #B6BA38 #75BA38
triadic
#B6BA38 #38B6BA #BA38B6
tetradic
#B6BA38 #38BA7D #3C38BA #BA3875
square
#B6BA38 #38BA7D #3C38BA #BA3875
split-complementary
#B6BA38 #3875BA #7D38BA
monochromatic
#5A5C1C #888B2A #B6BA38 #CCCF60 #DBDD8F

Accessibility & contrast

On white

2.09
#B6BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6BA38#FFFFFF#000000##000000
##B6BA381.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B222
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#C2AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba38;
/* rgb */ color: rgb(182, 186, 56);
/* oklch */ color: oklch(76.2% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfce77',
    500: '#b6ba38',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba38;
$custom-light: #cfce77;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba38",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 61.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76237,
    "c": 0.14776,
    "h": 111.2
  },
  "luminance": 0.45348
}

Semantic roles & 50–950 ramp

primary
#B6BA38
secondary
#8886C8
accent
#4BDD4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B6BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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