#B3A42D#B3A42D

#B3A42D is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.134 H 101.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B3A42D
RGBrgb(179, 164, 45)
HSLhsl(53, 60%, 44%)
HSVhsv(53, 75%, 70%)
CMYKcmyk(0%, 8.4%, 74.9%, 29.8%)
CIE-LABlab(66.77, -7.69, 59.68)
CIE-LCHlch(66.77, 60.17, 97.34°)
OKLaboklab(71.09% -0.0276 0.1312)
OKLCHoklch(71.09% 0.134 101.9)
XYZxyz(32.3410, 36.3255, 7.7901)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A42D #2D3CB3
analogous
#B3612D #B3A42D #7FB32D
triadic
#B3A42D #2DB3A4 #A42DB3
tetradic
#B3A42D #2DB361 #2D3CB3 #B32D7F
square
#B3A42D #2DB361 #2D3CB3 #B32D7F
split-complementary
#B3A42D #2D7FB3 #612DB3
monochromatic
#514A14 #827721 #B3A42D #D2C34B #DED37C

Accessibility & contrast

On white

2.54
#B3A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B3A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A42D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A42D#FFFFFF#000000##000000
##B3A42D1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F16
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a42d;
/* rgb */ color: rgb(179, 164, 45);
/* oklch */ color: oklch(71.1% 0.134 101.9);
Tailwind
colors: {
  custom: {
    50: '#cdbe6f',
    500: '#b3a42d',
    950: '#000000',
  },
}
SCSS
$custom: #b3a42d;
$custom-light: #cdbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a42d",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 53.284,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.13407,
    "h": 101.9
  },
  "luminance": 0.36324
}

Semantic roles & 50–950 ramp

primary
#B3A42D
secondary
#757EC7
accent
#57E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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