#BBA142#BBA142

#BBA142 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.118 H 93.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#BBA142
RGBrgb(187, 161, 66)
HSLhsl(47, 48%, 50%)
HSVhsv(47, 65%, 73%)
CMYKcmyk(0%, 13.9%, 64.7%, 26.7%)
CIE-LABlab(66.86, -1.45, 51.48)
CIE-LCHlch(66.86, 51.50, 91.62°)
OKLaboklab(71.39% -0.0079 0.1173)
OKLCHoklch(71.39% 0.118 93.9)
XYZxyz(34.2234, 36.4497, 10.3861)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA142 #425CBB
analogous
#BB6442 #BBA142 #99BB42
triadic
#BBA142 #42BBA1 #A142BB
tetradic
#BBA142 #42BB64 #425CBB #BB4299
square
#BBA142 #42BB64 #425CBB #BB4299
split-complementary
#BBA142 #4299BB #6442BB
monochromatic
#615322 #8E7A32 #BBA142 #CCB86E #DCCE9C

Accessibility & contrast

On white

2.53
#BBA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#BBA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA142
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA142#FFFFFF#000000##000000
##BBA1421.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B8A647
Tritanopia (blue-blind)
#C9958D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bba142;
/* rgb */ color: rgb(187, 161, 66);
/* oklch */ color: oklch(71.4% 0.118 93.9);
Tailwind
colors: {
  custom: {
    50: '#d3bc7b',
    500: '#bba142',
    950: '#000000',
  },
}
SCSS
$custom: #bba142;
$custom-light: #d3bc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bba142",
  "rgb": {
    "r": 187,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 47.107,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.11753,
    "h": 93.9
  },
  "luminance": 0.36448
}

Semantic roles & 50–950 ramp

primary
#BBA142
secondary
#919DC8
accent
#6DD750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA142

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

Preview Lab → · Contrast checker → · Palette generator →

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