#BBA438#BBA438

#BBA438 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.127 H 96.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#BBA438
RGBrgb(187, 164, 56)
HSLhsl(49, 54%, 48%)
HSVhsv(49, 70%, 73%)
CMYKcmyk(0%, 12.3%, 70.1%, 26.7%)
CIE-LABlab(67.58, -3.64, 56.52)
CIE-LCHlch(67.58, 56.63, 93.68°)
OKLaboklab(71.93% -0.0153 0.1263)
OKLCHoklch(71.93% 0.127 96.9)
XYZxyz(34.4845, 37.4030, 9.1437)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA438 #384FBB
analogous
#BB6338 #BBA438 #90BB38
triadic
#BBA438 #38BBA4 #A438BB
tetradic
#BBA438 #38BB63 #384FBB #BB3890
square
#BBA438 #38BB63 #384FBB #BB3890
split-complementary
#BBA438 #3890BB #6338BB
monochromatic
#5D511C #8C7B2A #BBA438 #D0BC61 #DED090

Accessibility & contrast

On white

2.48
#BBA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#BBA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA438
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA438#FFFFFF#000000##000000
##BBA4381.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#CA988E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bba438;
/* rgb */ color: rgb(187, 164, 56);
/* oklch */ color: oklch(71.9% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#d3be75',
    500: '#bba438',
    950: '#000000',
  },
}
SCSS
$custom: #bba438;
$custom-light: #d3be75;
$custom-dark: #000000;
JSON
{
  "hex": "#bba438",
  "rgb": {
    "r": 187,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 49.466,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7193,
    "c": 0.12719,
    "h": 96.9
  },
  "luminance": 0.37401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBA438

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

Preview Lab → · Contrast checker → · Palette generator →

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