#B3A82E#B3A82E

#B3A82E is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.137 H 104.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B3A82E
RGBrgb(179, 168, 46)
HSLhsl(55, 59%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 6.1%, 74.3%, 29.8%)
CIE-LABlab(67.86, -9.75, 60.36)
CIE-LCHlch(67.86, 61.14, 99.18°)
OKLaboklab(71.96% -0.0333 0.1328)
OKLCHoklch(71.96% 0.137 104.1)
XYZxyz(33.0876, 37.7876, 8.1351)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A82E #2E39B3
analogous
#B3662E #B3A82E #7CB32E
triadic
#B3A82E #2EB3A8 #A82EB3
tetradic
#B3A82E #2EB366 #2E39B3 #B32E7C
square
#B3A82E #2EB366 #2E39B3 #B32E7C
split-complementary
#B3A82E #2E7CB3 #662EB3
monochromatic
#524D15 #827A21 #B3A82E #D1C64D #DED67E

Accessibility & contrast

On white

2.45
#B3A82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B3A82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A82E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A82E#FFFFFF#000000##000000
##B3A82E1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#C19C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a82e;
/* rgb */ color: rgb(179, 168, 46);
/* oklch */ color: oklch(72.0% 0.137 104.1);
Tailwind
colors: {
  custom: {
    50: '#cdc170',
    500: '#b3a82e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a82e;
$custom-light: #cdc170;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a82e",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 55.038,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71963,
    "c": 0.13693,
    "h": 104.1
  },
  "luminance": 0.37786
}

Semantic roles & 50–950 ramp

primary
#B3A82E
secondary
#767DC6
accent
#52E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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