#B3A442#B3A442

#B3A442 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.119 H 100.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B3A442
RGBrgb(179, 164, 66)
HSLhsl(52, 46%, 48%)
HSVhsv(52, 63%, 70%)
CMYKcmyk(0%, 8.4%, 63.1%, 29.8%)
CIE-LABlab(66.92, -6.53, 51.33)
CIE-LCHlch(66.92, 51.75, 97.25°)
OKLaboklab(71.26% -0.022 0.1172)
OKLCHoklch(71.26% 0.119 100.6)
XYZxyz(32.8505, 36.5293, 10.4737)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A442 #4251B3
analogous
#B36B42 #B3A442 #89B342
triadic
#B3A442 #42B3A4 #A442B3
tetradic
#B3A442 #42B36B #4251B3 #B34289
square
#B3A442 #42B36B #4251B3 #B34289
split-complementary
#B3A442 #4289B3 #6B42B3
monochromatic
#5A5221 #867B32 #B3A442 #C8BC6A #D9D097

Accessibility & contrast

On white

2.53
#B3A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B3A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A442
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A442#FFFFFF#000000##000000
##B3A4421.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F37
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#C0998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a442;
/* rgb */ color: rgb(179, 164, 66);
/* oklch */ color: oklch(71.3% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#cdbe7b',
    500: '#b3a442',
    950: '#000000',
  },
}
SCSS
$custom: #b3a442;
$custom-light: #cdbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a442",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 52.035,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71262,
    "c": 0.1192,
    "h": 100.6
  },
  "luminance": 0.36528
}

Semantic roles & 50–950 ramp

primary
#B3A442
secondary
#8C94C4
accent
#64D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B3A442

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

Preview Lab → · Contrast checker → · Palette generator →

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