#BBB42E#BBB42E

#BBB42E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.147 H 106.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BBB42E
RGBrgb(187, 180, 46)
HSLhsl(57, 61%, 46%)
HSVhsv(57, 75%, 73%)
CMYKcmyk(0%, 3.7%, 75.4%, 26.7%)
CIE-LABlab(71.83, -12.48, 64.32)
CIE-LCHlch(71.83, 65.52, 100.98°)
OKLaboklab(75.29% -0.0414 0.1409)
OKLCHoklch(75.29% 0.147 106.4)
XYZxyz(37.3095, 43.4059, 8.9971)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB42E #2E35BB
analogous
#BB6D2E #BBB42E #7BBB2E
triadic
#BBB42E #2EBBB4 #B42EBB
tetradic
#BBB42E #2EBB6D #2E35BB #BB2E7B
square
#BBB42E #2EBB6D #2E35BB #BB2E7B
split-complementary
#BBB42E #2E7BBB #6D2EBB
monochromatic
#595516 #8A8522 #BBB42E #D4CE52 #E0DC83

Accessibility & contrast

On white

2.17
#BBB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#BBB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB42E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB42E#FFFFFF#000000##000000
##BBB42E1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#C9A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb42e;
/* rgb */ color: rgb(187, 180, 46);
/* oklch */ color: oklch(75.3% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#d3ca71',
    500: '#bbb42e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb42e;
$custom-light: #d3ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb42e",
  "rgb": {
    "r": 187,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 57.021,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75288,
    "c": 0.14688,
    "h": 106.4
  },
  "luminance": 0.43405
}

Semantic roles & 50–950 ramp

primary
#BBB42E
secondary
#7B7FCA
accent
#4CE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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