#BBAF2E#BBAF2E

#BBAF2E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.142 H 103.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#BBAF2E
RGBrgb(187, 175, 46)
HSLhsl(55, 61%, 46%)
HSVhsv(55, 75%, 73%)
CMYKcmyk(0%, 6.4%, 75.4%, 26.7%)
CIE-LABlab(70.47, -9.90, 63.06)
CIE-LCHlch(70.47, 63.83, 98.92°)
OKLaboklab(74.21% -0.0341 0.1383)
OKLCHoklch(74.21% 0.142 103.9)
XYZxyz(36.3182, 41.4235, 8.6667)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF2E #2E3ABB
analogous
#BB692E #BBAF2E #80BB2E
triadic
#BBAF2E #2EBBAF #AF2EBB
tetradic
#BBAF2E #2EBB69 #2E3ABB #BB2E80
square
#BBAF2E #2EBB69 #2E3ABB #BB2E80
split-complementary
#BBAF2E #2E80BB #692EBB
monochromatic
#595316 #8A8122 #BBAF2E #D4C952 #E0D983

Accessibility & contrast

On white

2.26
#BBAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#BBAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF2E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF2E#FFFFFF#000000##000000
##BBAF2E1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C9A396
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf2e;
/* rgb */ color: rgb(187, 175, 46);
/* oklch */ color: oklch(74.2% 0.142 103.9);
Tailwind
colors: {
  custom: {
    50: '#d3c671',
    500: '#bbaf2e',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf2e;
$custom-light: #d3c671;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf2e",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 54.894,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74206,
    "c": 0.1424,
    "h": 103.9
  },
  "luminance": 0.41422
}

Semantic roles & 50–950 ramp

primary
#BBAF2E
secondary
#7B82CA
accent
#52E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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