#B3A334#B3A334

#B3A334 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.129 H 100.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B3A334
RGBrgb(179, 163, 52)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 70%)
CMYKcmyk(0%, 8.9%, 70.9%, 29.8%)
CIE-LABlab(66.54, -6.83, 56.83)
CIE-LCHlch(66.54, 57.24, 96.85°)
OKLaboklab(70.92% -0.0244 0.1265)
OKLCHoklch(70.92% 0.129 100.9)
XYZxyz(32.3089, 36.0275, 8.5003)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A334 #3444B3
analogous
#B36334 #B3A334 #83B334
triadic
#B3A334 #34B3A3 #A334B3
tetradic
#B3A334 #34B363 #3444B3 #B33483
square
#B3A334 #34B363 #3444B3 #B33483
split-complementary
#B3A334 #3483B3 #6334B3
monochromatic
#544D18 #847826 #B3A334 #CEBF56 #DCD186

Accessibility & contrast

On white

2.56
#B3A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B3A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A334
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A334#FFFFFF#000000##000000
##B3A3341.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a334;
/* rgb */ color: rgb(179, 163, 52);
/* oklch */ color: oklch(70.9% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#cdbd72',
    500: '#b3a334',
    950: '#000000',
  },
}
SCSS
$custom: #b3a334;
$custom-light: #cdbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a334",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 52.441,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70924,
    "c": 0.12882,
    "h": 100.9
  },
  "luminance": 0.36026
}

Semantic roles & 50–950 ramp

primary
#B3A334
secondary
#7D86C5
accent
#5CDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A334

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

Preview Lab → · Contrast checker → · Palette generator →

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