#B6BA2F#B6BA2F

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

Color values

HEX#B6BA2F
RGBrgb(182, 186, 47)
HSLhsl(62, 60%, 46%)
HSVhsv(62, 75%, 73%)
CMYKcmyk(2.2%, 0%, 74.7%, 27.1%)
CIE-LABlab(73.07, -17.64, 64.99)
CIE-LCHlch(73.07, 67.34, 105.18°)
OKLaboklab(76.18% -0.0554 0.1427)
OKLCHoklch(76.18% 0.153 111.2)
XYZxyz(37.3647, 45.2691, 9.4583)
Luminance0.4527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA2F #332FBA
analogous
#BA792F #B6BA2F #70BA2F
triadic
#B6BA2F #2FB6BA #BA2FB6
tetradic
#B6BA2F #2FBA79 #332FBA #BA2F70
square
#B6BA2F #2FBA79 #332FBA #BA2F70
split-complementary
#B6BA2F #2F70BA #792FBA
monochromatic
#565816 #868923 #B6BA2F #D0D353 #DDE084

Accessibility & contrast

On white

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

On black

10.05
#B6BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BA2F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BA2F#FFFFFF#000000##000000
##B6BA2F1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20E
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#C3AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba2f;
/* rgb */ color: rgb(182, 186, 47);
/* oklch */ color: oklch(76.2% 0.153 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0ce73',
    500: '#b6ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba2f;
$custom-light: #d0ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba2f",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 61.727,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76178,
    "c": 0.15312,
    "h": 111.2
  },
  "luminance": 0.45268
}

Semantic roles & 50–950 ramp

primary
#B6BA2F
secondary
#7E7CC9
accent
#45E34A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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