#B8BA38#B8BA38

#B8BA38 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.147 H 110.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B8BA38
RGBrgb(184, 186, 56)
HSLhsl(61, 54%, 47%)
HSVhsv(61, 70%, 73%)
CMYKcmyk(1.1%, 0%, 69.9%, 27.1%)
CIE-LABlab(73.28, -16.36, 62.11)
CIE-LCHlch(73.28, 64.23, 104.76°)
OKLaboklab(76.41% -0.0511 0.1382)
OKLCHoklch(76.41% 0.147 110.3)
XYZxyz(38.0412, 45.5947, 10.5374)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA38 #3A38BA
analogous
#BA7B38 #B8BA38 #77BA38
triadic
#B8BA38 #38B8BA #BA38B8
tetradic
#B8BA38 #38BA7B #3A38BA #BA3877
square
#B8BA38 #38BA7B #3A38BA #BA3877
split-complementary
#B8BA38 #3877BA #7B38BA
monochromatic
#5B5C1C #898B2A #B8BA38 #CDCF60 #DCDD8F

Accessibility & contrast

On white

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

On black

10.12
#B8BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA38
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA38#FFFFFF#000000##000000
##B8BA381.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ba38;
/* rgb */ color: rgb(184, 186, 56);
/* oklch */ color: oklch(76.4% 0.147 110.3);
Tailwind
colors: {
  custom: {
    50: '#d1ce77',
    500: '#b8ba38',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba38;
$custom-light: #d1ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba38",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 60.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76405,
    "c": 0.14732,
    "h": 110.3
  },
  "luminance": 0.45594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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