#BBA338#BBA338

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

Color values

HEX#BBA338
RGBrgb(187, 163, 56)
HSLhsl(49, 54%, 48%)
HSVhsv(49, 70%, 73%)
CMYKcmyk(0%, 12.8%, 70.1%, 26.7%)
CIE-LABlab(67.31, -3.10, 56.25)
CIE-LCHlch(67.31, 56.33, 93.16°)
OKLaboklab(71.72% -0.0138 0.1257)
OKLCHoklch(71.72% 0.126 96.3)
XYZxyz(34.3062, 37.0465, 9.0843)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA338 #3850BB
analogous
#BB6238 #BBA338 #91BB38
triadic
#BBA338 #38BBA3 #A338BB
tetradic
#BBA338 #38BB62 #3850BB #BB3891
square
#BBA338 #38BB62 #3850BB #BB3891
split-complementary
#BBA338 #3891BB #6238BB
monochromatic
#5D511C #8C7A2A #BBA338 #D0BB61 #DECF90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBA338#FFFFFF#000000##000000
##BBA3381.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)
#B39F29
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#CA978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bba338;
/* rgb */ color: rgb(187, 163, 56);
/* oklch */ color: oklch(71.7% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#d3bd75',
    500: '#bba338',
    950: '#000000',
  },
}
SCSS
$custom: #bba338;
$custom-light: #d3bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bba338",
  "rgb": {
    "r": 187,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 49.008,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71719,
    "c": 0.12645,
    "h": 96.3
  },
  "luminance": 0.37045
}

Semantic roles & 50–950 ramp

primary
#BBA338
secondary
#8692C8
accent
#65DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA338

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

Preview Lab → · Contrast checker → · Palette generator →

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