#B3A52F#B3A52F

#B3A52F is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.134 H 102.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B3A52F
RGBrgb(179, 165, 47)
HSLhsl(54, 58%, 44%)
HSVhsv(54, 74%, 70%)
CMYKcmyk(0%, 7.8%, 73.7%, 29.8%)
CIE-LABlab(67.05, -8.13, 59.23)
CIE-LCHlch(67.05, 59.78, 97.82°)
OKLaboklab(71.32% -0.0286 0.1306)
OKLCHoklch(71.32% 0.134 102.4)
XYZxyz(32.5601, 36.7006, 8.0576)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A52F #2F3DB3
analogous
#B3632F #B3A52F #7FB32F
triadic
#B3A52F #2FB3A5 #A52FB3
tetradic
#B3A52F #2FB363 #2F3DB3 #B32F7F
square
#B3A52F #2FB363 #2F3DB3 #B32F7F
split-complementary
#B3A52F #2F7FB3 #632FB3
monochromatic
#524C16 #837822 #B3A52F #D1C34F #DDD37F

Accessibility & contrast

On white

2.52
#B3A52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B3A52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A52F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A52F#FFFFFF#000000##000000
##B3A52F1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01A
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#C1998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a52f;
/* rgb */ color: rgb(179, 165, 47);
/* oklch */ color: oklch(71.3% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#cdbf70',
    500: '#b3a52f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a52f;
$custom-light: #cdbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a52f",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 53.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71319,
    "c": 0.13371,
    "h": 102.4
  },
  "luminance": 0.36699
}

Semantic roles & 50–950 ramp

primary
#B3A52F
secondary
#7880C6
accent
#57E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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