#BBAF58#BBAF58

#BBAF58 is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.110 H 101.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#BBAF58
RGBrgb(187, 175, 88)
HSLhsl(53, 42%, 54%)
HSVhsv(53, 53%, 73%)
CMYKcmyk(0%, 6.4%, 52.9%, 26.7%)
CIE-LABlab(70.82, -7.24, 45.62)
CIE-LCHlch(70.82, 46.19, 99.01°)
OKLaboklab(74.6% -0.0219 0.1074)
OKLCHoklch(74.6% 0.11 101.5)
XYZxyz(37.5861, 41.9306, 15.3442)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF58 #5864BB
analogous
#BB7E58 #BBAF58 #96BB58
triadic
#BBAF58 #58BBAF #AF58BB
tetradic
#BBAF58 #58BB7E #5864BB #BB5896
square
#BBAF58 #58BB7E #5864BB #BB5896
split-complementary
#BBAF58 #5896BB #7E58BB
monochromatic
#6C652C #988D3E #BBAF58 #CDC483 #DED9AF

Accessibility & contrast

On white

2.24
#BBAF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#BBAF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF58
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF58#FFFFFF#000000##000000
##BBAF581.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA50
Deuteranopia (green-blind)
#C0B05C
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf58;
/* rgb */ color: rgb(187, 175, 88);
/* oklch */ color: oklch(74.6% 0.110 101.5);
Tailwind
colors: {
  custom: {
    50: '#d2c689',
    500: '#bbaf58',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf58;
$custom-light: #d2c689;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf58",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 88
  },
  "hsl": {
    "h": 52.727,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74598,
    "c": 0.10962,
    "h": 101.5
  },
  "luminance": 0.41929
}

Semantic roles & 50–950 ramp

primary
#BBAF58
secondary
#A2A7CD
accent
#65D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBAF58

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

Preview Lab → · Contrast checker → · Palette generator →

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