#B3A539#B3A539

#B3A539 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.127 H 101.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B3A539
RGBrgb(179, 165, 57)
HSLhsl(53, 52%, 46%)
HSVhsv(53, 68%, 70%)
CMYKcmyk(0%, 7.8%, 68.2%, 29.8%)
CIE-LABlab(67.12, -7.62, 55.41)
CIE-LCHlch(67.12, 55.93, 97.83°)
OKLaboklab(71.4% -0.0261 0.1244)
OKLCHoklch(71.4% 0.127 101.8)
XYZxyz(32.7854, 36.7908, 9.2445)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A539 #3947B3
analogous
#B36839 #B3A539 #84B339
triadic
#B3A539 #39B3A5 #A539B3
tetradic
#B3A539 #39B368 #3947B3 #B33984
square
#B3A539 #39B368 #3947B3 #B33984
split-complementary
#B3A539 #3984B3 #6839B3
monochromatic
#564F1B #857A2A #B3A539 #CCBF5E #DAD18C

Accessibility & contrast

On white

2.51
#B3A539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B3A539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A539
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A539#FFFFFF#000000##000000
##B3A5391.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02A
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C09A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a539;
/* rgb */ color: rgb(179, 165, 57);
/* oklch */ color: oklch(71.4% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#cdbf75',
    500: '#b3a539',
    950: '#000000',
  },
}
SCSS
$custom: #b3a539;
$custom-light: #cdbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a539",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 53.115,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.12707,
    "h": 101.8
  },
  "luminance": 0.36789
}

Semantic roles & 50–950 ramp

primary
#B3A539
secondary
#838BC5
accent
#5DDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A539

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

Preview Lab → · Contrast checker → · Palette generator →

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