#BBA23F#BBA23F

#BBA23F is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.121 H 94.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BBA23F
RGBrgb(187, 162, 63)
HSLhsl(48, 50%, 49%)
HSVhsv(48, 66%, 73%)
CMYKcmyk(0%, 13.4%, 66.3%, 26.7%)
CIE-LABlab(67.10, -2.17, 53.07)
CIE-LCHlch(67.10, 53.11, 92.35°)
OKLaboklab(71.57% -0.0103 0.1202)
OKLCHoklch(71.57% 0.121 94.9)
XYZxyz(34.3127, 36.7661, 9.9909)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA23F #3F58BB
analogous
#BB643F #BBA23F #96BB3F
triadic
#BBA23F #3FBBA2 #A23FBB
tetradic
#BBA23F #3FBB64 #3F58BB #BB3F96
square
#BBA23F #3FBB64 #3F58BB #BB3F96
split-complementary
#BBA23F #3F96BB #643FBB
monochromatic
#5F5320 #8D7A30 #BBA23F #CDB96A #DCCF98

Accessibility & contrast

On white

2.51
#BBA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BBA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA23F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA23F#FFFFFF#000000##000000
##BBA23F1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#B8A744
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bba23f;
/* rgb */ color: rgb(187, 162, 63);
/* oklch */ color: oklch(71.6% 0.121 94.9);
Tailwind
colors: {
  custom: {
    50: '#d3bd79',
    500: '#bba23f',
    950: '#000000',
  },
}
SCSS
$custom: #bba23f;
$custom-light: #d3bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bba23f",
  "rgb": {
    "r": 187,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 47.903,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.12059,
    "h": 94.9
  },
  "luminance": 0.36764
}

Semantic roles & 50–950 ramp

primary
#BBA23F
secondary
#8E99C8
accent
#6BD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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