#B8BA2F#B8BA2F

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

Color values

HEX#B8BA2F
RGBrgb(184, 186, 47)
HSLhsl(61, 60%, 46%)
HSVhsv(61, 75%, 73%)
CMYKcmyk(1.1%, 0%, 74.7%, 27.1%)
CIE-LABlab(73.23, -16.78, 65.20)
CIE-LCHlch(73.23, 67.32, 104.44°)
OKLaboklab(76.35% -0.0531 0.1431)
OKLCHoklch(76.35% 0.153 110.4)
XYZxyz(37.8405, 45.5145, 9.4806)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA2F #312FBA
analogous
#BA762F #B8BA2F #73BA2F
triadic
#B8BA2F #2FB8BA #BA2FB8
tetradic
#B8BA2F #2FBA76 #312FBA #BA2F73
square
#B8BA2F #2FBA76 #312FBA #BA2F73
split-complementary
#B8BA2F #2F73BA #762FBA
monochromatic
#575816 #888923 #B8BA2F #D2D353 #DEE084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BA2F#FFFFFF#000000##000000
##B8BA2F1.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)
#C9B20E
Deuteranopia (green-blind)
#CAB63A
Tritanopia (blue-blind)
#C5AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba2f;
/* rgb */ color: rgb(184, 186, 47);
/* oklch */ color: oklch(76.3% 0.153 110.4);
Tailwind
colors: {
  custom: {
    50: '#d1ce73',
    500: '#b8ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba2f;
$custom-light: #d1ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba2f",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 60.863,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76346,
    "c": 0.15265,
    "h": 110.4
  },
  "luminance": 0.45513
}

Semantic roles & 50–950 ramp

primary
#B8BA2F
secondary
#7D7CC9
accent
#45E347
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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