#B6BA2D#B6BA2D

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

Color values

HEX#B6BA2D
RGBrgb(182, 186, 45)
HSLhsl(62, 61%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.2%, 0%, 75.8%, 27.1%)
CIE-LABlab(73.06, -17.72, 65.63)
CIE-LCHlch(73.06, 67.98, 105.11°)
OKLaboklab(76.17% -0.0558 0.1437)
OKLCHoklch(76.17% 0.154 111.2)
XYZxyz(37.3253, 45.2534, 9.2507)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA2D #312DBA
analogous
#BA772D #B6BA2D #70BA2D
triadic
#B6BA2D #2DB6BA #BA2DB6
tetradic
#B6BA2D #2DBA77 #312DBA #BA2D70
square
#B6BA2D #2DBA77 #312DBA #BA2D70
split-complementary
#B6BA2D #2D70BA #772DBA
monochromatic
#565715 #868921 #B6BA2D #D1D550 #DEE081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6BA2D#FFFFFF#000000##000000
##B6BA2D1.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)
#C9B107
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C3AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba2d;
/* rgb */ color: rgb(182, 186, 45);
/* oklch */ color: oklch(76.2% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0ce72',
    500: '#b6ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba2d;
$custom-light: #d0ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba2d",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 61.702,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.15419,
    "h": 111.2
  },
  "luminance": 0.45252
}

Semantic roles & 50–950 ramp

primary
#B6BA2D
secondary
#7C79C9
accent
#44E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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