#B3A451#B3A451

#B3A451 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.106 H 99.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B3A451
RGBrgb(179, 164, 81)
HSLhsl(51, 39%, 51%)
HSVhsv(51, 55%, 70%)
CMYKcmyk(0%, 8.4%, 54.7%, 29.8%)
CIE-LABlab(67.07, -5.41, 44.46)
CIE-LCHlch(67.07, 44.79, 96.94°)
OKLaboklab(71.43% -0.017 0.1043)
OKLCHoklch(71.43% 0.106 99.2)
XYZxyz(33.3522, 36.7300, 13.1158)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A451 #5160B3
analogous
#B37351 #B3A451 #91B351
triadic
#B3A451 #51B3A4 #A451B3
tetradic
#B3A451 #51B373 #5160B3 #B35191
square
#B3A451 #51B373 #5160B3 #B35191
split-complementary
#B3A451 #5191B3 #7351B3
monochromatic
#60582A #8A7E3C #B3A451 #C6BA7C #D8D1A6

Accessibility & contrast

On white

2.52
#B3A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A451#FFFFFF#000000##000000
##B3A4511.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A049
Deuteranopia (green-blind)
#B6A655
Tritanopia (blue-blind)
#BF9A91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a451;
/* rgb */ color: rgb(179, 164, 81);
/* oklch */ color: oklch(71.4% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#ccbe84',
    500: '#b3a451',
    950: '#000000',
  },
}
SCSS
$custom: #b3a451;
$custom-light: #ccbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a451",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 50.816,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.10569,
    "h": 99.2
  },
  "luminance": 0.36729
}

Semantic roles & 50–950 ramp

primary
#B3A451
secondary
#9AA1C6
accent
#6BCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3A451

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

Preview Lab → · Contrast checker → · Palette generator →

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