#BBA239#BBA239

#BBA239 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.125 H 95.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#BBA239
RGBrgb(187, 162, 57)
HSLhsl(48, 53%, 48%)
HSVhsv(48, 70%, 73%)
CMYKcmyk(0%, 13.4%, 69.5%, 26.7%)
CIE-LABlab(67.05, -2.52, 55.58)
CIE-LCHlch(67.05, 55.63, 92.59°)
OKLaboklab(71.52% -0.012 0.1244)
OKLCHoklch(71.52% 0.125 95.5)
XYZxyz(34.1540, 36.7027, 9.1554)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA239 #3952BB
analogous
#BB6139 #BBA239 #93BB39
triadic
#BBA239 #39BBA2 #A239BB
tetradic
#BBA239 #39BB61 #3952BB #BB3993
square
#BBA239 #39BB61 #3952BB #BB3993
split-complementary
#BBA239 #3993BB #6139BB
monochromatic
#5D511C #8C792B #BBA239 #CFBA62 #DDCF91

Accessibility & contrast

On white

2.52
#BBA239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#BBA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA239
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA239#FFFFFF#000000##000000
##BBA2391.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2B
Deuteranopia (green-blind)
#B9A73F
Tritanopia (blue-blind)
#CA968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bba239;
/* rgb */ color: rgb(187, 162, 57);
/* oklch */ color: oklch(71.5% 0.125 95.5);
Tailwind
colors: {
  custom: {
    50: '#d3bd75',
    500: '#bba239',
    950: '#000000',
  },
}
SCSS
$custom: #bba239;
$custom-light: #d3bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bba239",
  "rgb": {
    "r": 187,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 48.462,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71517,
    "c": 0.12502,
    "h": 95.5
  },
  "luminance": 0.36701
}

Semantic roles & 50–950 ramp

primary
#BBA239
secondary
#8794C8
accent
#67DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA239

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

Preview Lab → · Contrast checker → · Palette generator →

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