#B3AF55#B3AF55

#B3AF55 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.113 H 106.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B3AF55
RGBrgb(179, 175, 85)
HSLhsl(57, 38%, 52%)
HSVhsv(57, 53%, 70%)
CMYKcmyk(0%, 2.2%, 52.5%, 29.8%)
CIE-LABlab(70.11, -10.86, 46.06)
CIE-LCHlch(70.11, 47.32, 103.27°)
OKLaboklab(73.85% -0.0321 0.1082)
OKLCHoklch(73.85% 0.113 106.5)
XYZxyz(35.5610, 40.9005, 14.6139)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF55 #5559B3
analogous
#B38055 #B3AF55 #88B355
triadic
#B3AF55 #55B3AF #AF55B3
tetradic
#B3AF55 #55B380 #5559B3 #B35588
square
#B3AF55 #55B380 #5559B3 #B35588
split-complementary
#B3AF55 #5588B3 #8055B3
monochromatic
#62602C #8C893F #B3AF55 #C6C37F #D9D7AA

Accessibility & contrast

On white

2.29
#B3AF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B3AF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF55
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF55#FFFFFF#000000##000000
##B3AF551.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94C
Deuteranopia (green-blind)
#BEAD5A
Tritanopia (blue-blind)
#BEA59B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af55;
/* rgb */ color: rgb(179, 175, 85);
/* oklch */ color: oklch(73.9% 0.113 106.5);
Tailwind
colors: {
  custom: {
    50: '#ccc687',
    500: '#b3af55',
    950: '#000000',
  },
}
SCSS
$custom: #b3af55;
$custom-light: #ccc687;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af55",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 57.447,
    "s": 38.211,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73853,
    "c": 0.11288,
    "h": 106.5
  },
  "luminance": 0.409
}

Semantic roles & 50–950 ramp

primary
#B3AF55
secondary
#9D9FC7
accent
#5FCE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B3AF55

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

Preview Lab → · Contrast checker → · Palette generator →

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