#B3A042#B3A042

#B3A042 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.116 H 97.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B3A042
RGBrgb(179, 160, 66)
HSLhsl(50, 46%, 48%)
HSVhsv(50, 63%, 70%)
CMYKcmyk(0%, 10.6%, 63.1%, 29.8%)
CIE-LABlab(65.84, -4.40, 50.16)
CIE-LCHlch(65.84, 50.35, 95.02°)
OKLaboklab(70.41% -0.0159 0.1147)
OKLCHoklch(70.41% 0.116 97.9)
XYZxyz(32.1459, 35.1201, 10.2388)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A042 #4255B3
analogous
#B36842 #B3A042 #8DB342
triadic
#B3A042 #42B3A0 #A042B3
tetradic
#B3A042 #42B368 #4255B3 #B3428D
square
#B3A042 #42B368 #4255B3 #B3428D
split-complementary
#B3A042 #428DB3 #6842B3
monochromatic
#5A5021 #867832 #B3A042 #C8B86A #D9CE97

Accessibility & contrast

On white

2.62
#B3A042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B3A042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A042
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A042#FFFFFF#000000##000000
##B3A0421.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#C0958C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b3a042;
/* rgb */ color: rgb(179, 160, 66);
/* oklch */ color: oklch(70.4% 0.116 97.9);
Tailwind
colors: {
  custom: {
    50: '#cdbb7a',
    500: '#b3a042',
    950: '#000000',
  },
}
SCSS
$custom: #b3a042;
$custom-light: #cdbb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a042",
  "rgb": {
    "r": 179,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 49.912,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70405,
    "c": 0.11576,
    "h": 97.9
  },
  "luminance": 0.35119
}

Semantic roles & 50–950 ramp

primary
#B3A042
secondary
#8C96C4
accent
#68D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B3A042

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

Preview Lab → · Contrast checker → · Palette generator →

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