#BBA337#BBA337

#BBA337 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.127 H 96.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BBA337
RGBrgb(187, 163, 55)
HSLhsl(49, 55%, 47%)
HSVhsv(49, 71%, 73%)
CMYKcmyk(0%, 12.8%, 70.6%, 26.7%)
CIE-LABlab(67.30, -3.16, 56.65)
CIE-LCHlch(67.30, 56.73, 93.19°)
OKLaboklab(71.71% -0.0141 0.1264)
OKLCHoklch(71.71% 0.127 96.4)
XYZxyz(34.2820, 37.0368, 8.9568)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA337 #374FBB
analogous
#BB6137 #BBA337 #91BB37
triadic
#BBA337 #37BBA3 #A337BB
tetradic
#BBA337 #37BB61 #374FBB #BB3791
square
#BBA337 #37BB61 #374FBB #BB3791
split-complementary
#BBA337 #3791BB #6137BB
monochromatic
#5C511B #8C7A29 #BBA337 #D0BB5F #DECF8E

Accessibility & contrast

On white

2.50
#BBA337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BBA337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA337
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA337#FFFFFF#000000##000000
##BBA3371.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bba337;
/* rgb */ color: rgb(187, 163, 55);
/* oklch */ color: oklch(71.7% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#d3bd74',
    500: '#bba337',
    950: '#000000',
  },
}
SCSS
$custom: #bba337;
$custom-light: #d3bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#bba337",
  "rgb": {
    "r": 187,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 49.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.12713,
    "h": 96.4
  },
  "luminance": 0.37035
}

Semantic roles & 50–950 ramp

primary
#BBA337
secondary
#8591C9
accent
#65DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA337

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

Preview Lab → · Contrast checker → · Palette generator →

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