#B3A562#B3A562

#B3A562 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.089 H 97.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B3A562
RGBrgb(179, 165, 98)
HSLhsl(50, 35%, 54%)
HSVhsv(50, 45%, 70%)
CMYKcmyk(0%, 7.8%, 45.3%, 29.8%)
CIE-LABlab(67.56, -4.36, 36.45)
CIE-LCHlch(67.56, 36.71, 96.82°)
OKLaboklab(71.89% -0.0121 0.0881)
OKLCHoklch(71.89% 0.089 97.8)
XYZxyz(34.2510, 37.3770, 16.9632)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A562 #6270B3
analogous
#B37D62 #B3A562 #99B362
triadic
#B3A562 #62B3A5 #A562B3
tetradic
#B3A562 #62B37D #6270B3 #B36299
square
#B3A562 #62B37D #6270B3 #B36299
split-complementary
#B3A562 #6299B3 #7D62B3
monochromatic
#685F32 #918446 #B3A562 #C7BD8B #DBD4B4

Accessibility & contrast

On white

2.48
#B3A562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B3A562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A562
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A562#FFFFFF#000000##000000
##B3A5621.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#BE9C95
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a562;
/* rgb */ color: rgb(179, 165, 98);
/* oklch */ color: oklch(71.9% 0.089 97.8);
Tailwind
colors: {
  custom: {
    50: '#cbbf90',
    500: '#b3a562',
    950: '#000000',
  },
}
SCSS
$custom: #b3a562;
$custom-light: #cbbf90;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a562",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 49.63,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.0889,
    "h": 97.8
  },
  "luminance": 0.37376
}

Semantic roles & 50–950 ramp

primary
#B3A562
secondary
#A7ADCA
accent
#70CB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B3A562

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

Preview Lab → · Contrast checker → · Palette generator →

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