#BBA62D#BBA62D

#BBA62D is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.136 H 98.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#BBA62D
RGBrgb(187, 166, 45)
HSLhsl(51, 61%, 45%)
HSVhsv(51, 76%, 73%)
CMYKcmyk(0%, 11.2%, 75.9%, 26.7%)
CIE-LABlab(68.04, -5.22, 61.13)
CIE-LCHlch(68.04, 61.36, 94.88°)
OKLaboklab(72.27% -0.021 0.134)
OKLCHoklch(72.27% 0.136 98.9)
XYZxyz(34.6051, 38.0284, 7.9996)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA62D #2D42BB
analogous
#BB5F2D #BBA62D #89BB2D
triadic
#BBA62D #2DBBA6 #A62DBB
tetradic
#BBA62D #2DBB5F #2D42BB #BB2D89
square
#BBA62D #2DBB5F #2D42BB #BB2D89
split-complementary
#BBA62D #2D89BB #5F2DBB
monochromatic
#584E15 #8A7A21 #BBA62D #D5C150 #E1D382

Accessibility & contrast

On white

2.44
#BBA62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#BBA62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA62D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA62D#FFFFFF#000000##000000
##BBA62D1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A215
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#CA998F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bba62d;
/* rgb */ color: rgb(187, 166, 45);
/* oklch */ color: oklch(72.3% 0.136 98.9);
Tailwind
colors: {
  custom: {
    50: '#d3c06f',
    500: '#bba62d',
    950: '#000000',
  },
}
SCSS
$custom: #bba62d;
$custom-light: #d3c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bba62d",
  "rgb": {
    "r": 187,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 51.127,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.13561,
    "h": 98.9
  },
  "luminance": 0.38027
}

Semantic roles & 50–950 ramp

primary
#BBA62D
secondary
#7A86CA
accent
#5BE443
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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