#B3A339#B3A339

#B3A339 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.125 H 100.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B3A339
RGBrgb(179, 163, 57)
HSLhsl(52, 52%, 46%)
HSVhsv(52, 68%, 70%)
CMYKcmyk(0%, 8.9%, 68.2%, 29.8%)
CIE-LABlab(66.58, -6.56, 54.85)
CIE-LCHlch(66.58, 55.24, 96.82°)
OKLaboklab(70.96% -0.0231 0.1232)
OKLCHoklch(70.96% 0.125 100.6)
XYZxyz(32.4275, 36.0749, 9.1252)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A339 #3949B3
analogous
#B36639 #B3A339 #86B339
triadic
#B3A339 #39B3A3 #A339B3
tetradic
#B3A339 #39B366 #3949B3 #B33986
square
#B3A339 #39B366 #3949B3 #B33986
split-complementary
#B3A339 #3986B3 #6639B3
monochromatic
#564E1B #85792A #B3A339 #CCBD5E #DAD08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A339#FFFFFF#000000##000000
##B3A3391.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)
#B29E2B
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a339;
/* rgb */ color: rgb(179, 163, 57);
/* oklch */ color: oklch(71.0% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#cdbd75',
    500: '#b3a339',
    950: '#000000',
  },
}
SCSS
$custom: #b3a339;
$custom-light: #cdbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a339",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 52.131,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.12532,
    "h": 100.6
  },
  "luminance": 0.36073
}

Semantic roles & 50–950 ramp

primary
#B3A339
secondary
#838CC5
accent
#5FDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A339

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

Preview Lab → · Contrast checker → · Palette generator →

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