#BBAF4F#BBAF4F

#BBAF4F is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.118 H 102.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#BBAF4F
RGBrgb(187, 175, 79)
HSLhsl(53, 44%, 52%)
HSVhsv(53, 58%, 73%)
CMYKcmyk(0%, 6.4%, 57.8%, 26.7%)
CIE-LABlab(70.73, -7.96, 49.80)
CIE-LCHlch(70.73, 50.43, 99.08°)
OKLaboklab(74.49% -0.025 0.1154)
OKLCHoklch(74.49% 0.118 102.2)
XYZxyz(37.2361, 41.7906, 13.5006)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF4F #4F5BBB
analogous
#BB794F #BBAF4F #91BB4F
triadic
#BBAF4F #4FBBAF #AF4FBB
tetradic
#BBAF4F #4FBB79 #4F5BBB #BB4F91
square
#BBAF4F #4FBB79 #4F5BBB #BB4F91
split-complementary
#BBAF4F #4F91BB #794FBB
monochromatic
#686128 #948A39 #BBAF4F #CCC37B #DDD7A7

Accessibility & contrast

On white

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

On black

9.36
#BBAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF4F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF4F#FFFFFF#000000##000000
##BBAF4F1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA45
Deuteranopia (green-blind)
#C1AF54
Tritanopia (blue-blind)
#C8A49A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf4f;
/* rgb */ color: rgb(187, 175, 79);
/* oklch */ color: oklch(74.5% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#d2c684',
    500: '#bbaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf4f;
$custom-light: #d2c684;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf4f",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 53.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7449,
    "c": 0.11812,
    "h": 102.2
  },
  "luminance": 0.41789
}

Semantic roles & 50–950 ramp

primary
#BBAF4F
secondary
#9BA1CA
accent
#62D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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