#BBA03E#BBA03E

#BBA03E is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.120 H 93.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BBA03E
RGBrgb(187, 160, 62)
HSLhsl(47, 50%, 49%)
HSVhsv(47, 67%, 73%)
CMYKcmyk(0%, 14.4%, 66.8%, 26.7%)
CIE-LABlab(66.56, -1.16, 52.94)
CIE-LCHlch(66.56, 52.95, 91.26°)
OKLaboklab(71.14% -0.0076 0.1197)
OKLCHoklch(71.14% 0.12 93.6)
XYZxyz(33.9355, 36.0560, 9.7285)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA03E #3E59BB
analogous
#BB623E #BBA03E #98BB3E
triadic
#BBA03E #3EBBA0 #A03EBB
tetradic
#BBA03E #3EBB62 #3E59BB #BB3E98
square
#BBA03E #3EBB62 #3E59BB #BB3E98
split-complementary
#BBA03E #3E98BB #623EBB
monochromatic
#5F5120 #8D792F #BBA03E #CDB869 #DCCD97

Accessibility & contrast

On white

2.56
#BBA03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BBA03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA03E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA03E#FFFFFF#000000##000000
##BBA03E1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D32
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#CA948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bba03e;
/* rgb */ color: rgb(187, 160, 62);
/* oklch */ color: oklch(71.1% 0.120 93.6);
Tailwind
colors: {
  custom: {
    50: '#d3bb78',
    500: '#bba03e',
    950: '#000000',
  },
}
SCSS
$custom: #bba03e;
$custom-light: #d3bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#bba03e",
  "rgb": {
    "r": 187,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 47.04,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71142,
    "c": 0.11995,
    "h": 93.6
  },
  "luminance": 0.36054
}

Semantic roles & 50–950 ramp

primary
#BBA03E
secondary
#8D9AC8
accent
#6CDA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BBA03E

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

Preview Lab → · Contrast checker → · Palette generator →

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