#B3AA3F#B3AA3F

#B3AA3F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.127 H 104.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B3AA3F
RGBrgb(179, 170, 63)
HSLhsl(55, 48%, 47%)
HSVhsv(55, 65%, 70%)
CMYKcmyk(0%, 5%, 64.8%, 29.8%)
CIE-LABlab(68.53, -9.89, 54.36)
CIE-LCHlch(68.53, 55.25, 100.31°)
OKLaboklab(72.53% -0.0319 0.1231)
OKLCHoklch(72.53% 0.127 104.5)
XYZxyz(33.8636, 38.6933, 10.3864)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA3F #3F48B3
analogous
#B3703F #B3AA3F #82B33F
triadic
#B3AA3F #3FB3AA #AA3FB3
tetradic
#B3AA3F #3FB370 #3F48B3 #B33F82
square
#B3AA3F #3FB370 #3F48B3 #B33F82
split-complementary
#B3AA3F #3F82B3 #703FB3
monochromatic
#58541F #867F2F #B3AA3F #C9C166 #D9D493

Accessibility & contrast

On white

2.40
#B3AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B3AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA3F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA3F#FFFFFF#000000##000000
##B3AA3F1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A431
Deuteranopia (green-blind)
#BCA945
Tritanopia (blue-blind)
#C09F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa3f;
/* rgb */ color: rgb(179, 170, 63);
/* oklch */ color: oklch(72.5% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#cdc379',
    500: '#b3aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa3f;
$custom-light: #cdc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa3f",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 55.345,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72529,
    "c": 0.12716,
    "h": 104.5
  },
  "luminance": 0.38692
}

Semantic roles & 50–950 ramp

primary
#B3AA3F
secondary
#898EC4
accent
#5BD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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