#B3A342#B3A342

#B3A342 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.118 H 100.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B3A342
RGBrgb(179, 163, 66)
HSLhsl(52, 46%, 48%)
HSVhsv(52, 63%, 70%)
CMYKcmyk(0%, 8.9%, 63.1%, 29.8%)
CIE-LABlab(66.65, -6.00, 51.04)
CIE-LCHlch(66.65, 51.39, 96.71°)
OKLaboklab(71.05% -0.0204 0.1165)
OKLCHoklch(71.05% 0.118 100)
XYZxyz(32.6723, 36.1728, 10.4143)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A342 #4252B3
analogous
#B36A42 #B3A342 #8BB342
triadic
#B3A342 #42B3A3 #A342B3
tetradic
#B3A342 #42B36A #4252B3 #B3428B
square
#B3A342 #42B36A #4252B3 #B3428B
split-complementary
#B3A342 #428BB3 #6A42B3
monochromatic
#5A5221 #867A32 #B3A342 #C8BB6A #D9CF97

Accessibility & contrast

On white

2.55
#B3A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B3A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A342
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A342#FFFFFF#000000##000000
##B3A3421.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#C0988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a342;
/* rgb */ color: rgb(179, 163, 66);
/* oklch */ color: oklch(71.0% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#cdbe7b',
    500: '#b3a342',
    950: '#000000',
  },
}
SCSS
$custom: #b3a342;
$custom-light: #cdbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a342",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 51.504,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71047,
    "c": 0.11832,
    "h": 100
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#B3A342
secondary
#8C94C4
accent
#65D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3A342

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

Preview Lab → · Contrast checker → · Palette generator →

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