#B3A440#B3A440

#B3A440 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.121 H 100.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B3A440
RGBrgb(179, 164, 64)
HSLhsl(52, 47%, 48%)
HSVhsv(52, 64%, 70%)
CMYKcmyk(0%, 8.4%, 64.2%, 29.8%)
CIE-LABlab(66.90, -6.66, 52.20)
CIE-LCHlch(66.90, 52.62, 97.28°)
OKLaboklab(71.24% -0.0226 0.1187)
OKLCHoklch(71.24% 0.121 100.8)
XYZxyz(32.7926, 36.5062, 10.1686)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A440 #404FB3
analogous
#B36B40 #B3A440 #88B340
triadic
#B3A440 #40B3A4 #A440B3
tetradic
#B3A440 #40B36B #404FB3 #B34088
square
#B3A440 #40B36B #404FB3 #B34088
split-complementary
#B3A440 #4088B3 #6B40B3
monochromatic
#595120 #867B30 #B3A440 #C9BC67 #D9D094

Accessibility & contrast

On white

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

On black

8.30
#B3A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A440
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A440#FFFFFF#000000##000000
##B3A4401.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a440;
/* rgb */ color: rgb(179, 164, 64);
/* oklch */ color: oklch(71.2% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#cdbe79',
    500: '#b3a440',
    950: '#000000',
  },
}
SCSS
$custom: #b3a440;
$custom-light: #cdbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a440",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 52.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.12083,
    "h": 100.8
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#B3A440
secondary
#8A92C4
accent
#62D751
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3A440

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

Preview Lab → · Contrast checker → · Palette generator →

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