#BBA42F#BBA42F

#BBA42F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.133 H 97.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#BBA42F
RGBrgb(187, 164, 47)
HSLhsl(50, 60%, 46%)
HSVhsv(50, 75%, 73%)
CMYKcmyk(0%, 12.3%, 74.9%, 26.7%)
CIE-LABlab(67.52, -4.07, 59.93)
CIE-LCHlch(67.52, 60.07, 93.89°)
OKLaboklab(71.86% -0.0176 0.1318)
OKLCHoklch(71.86% 0.133 97.6)
XYZxyz(34.2838, 37.3227, 8.0870)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA42F #2F46BB
analogous
#BB5E2F #BBA42F #8CBB2F
triadic
#BBA42F #2FBBA4 #A42FBB
tetradic
#BBA42F #2FBB5E #2F46BB #BB2F8C
square
#BBA42F #2FBB5E #2F46BB #BB2F8C
split-complementary
#BBA42F #2F8CBB #5E2FBB
monochromatic
#594E16 #8A7923 #BBA42F #D4BF53 #E0D184

Accessibility & contrast

On white

2.48
#BBA42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#BBA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA42F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA42F#FFFFFF#000000##000000
##BBA42F1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01A
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#CA978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bba42f;
/* rgb */ color: rgb(187, 164, 47);
/* oklch */ color: oklch(71.9% 0.133 97.6);
Tailwind
colors: {
  custom: {
    50: '#d3be70',
    500: '#bba42f',
    950: '#000000',
  },
}
SCSS
$custom: #bba42f;
$custom-light: #d3be70;
$custom-dark: #000000;
JSON
{
  "hex": "#bba42f",
  "rgb": {
    "r": 187,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 50.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.13295,
    "h": 97.6
  },
  "luminance": 0.37321
}

Semantic roles & 50–950 ramp

primary
#BBA42F
secondary
#7C89C9
accent
#5FE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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