#B3A82F#B3A82F

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

Color values

HEX#B3A82F
RGBrgb(179, 168, 47)
HSLhsl(55, 58%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 6.1%, 73.7%, 29.8%)
CIE-LABlab(67.87, -9.70, 60.01)
CIE-LCHlch(67.87, 60.79, 99.19°)
OKLaboklab(71.97% -0.033 0.1323)
OKLCHoklch(71.97% 0.136 104)
XYZxyz(33.1076, 37.7955, 8.2401)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A82F #2F3AB3
analogous
#B3662F #B3A82F #7CB32F
triadic
#B3A82F #2FB3A8 #A82FB3
tetradic
#B3A82F #2FB366 #2F3AB3 #B32F7C
square
#B3A82F #2FB366 #2F3AB3 #B32F7C
split-complementary
#B3A82F #2F7CB3 #662FB3
monochromatic
#524D16 #837B22 #B3A82F #D1C64F #DDD67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A82F#FFFFFF#000000##000000
##B3A82F1.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)
#B7A218
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#C19C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a82f;
/* rgb */ color: rgb(179, 168, 47);
/* oklch */ color: oklch(72.0% 0.136 104.0);
Tailwind
colors: {
  custom: {
    50: '#cdc170',
    500: '#b3a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a82f;
$custom-light: #cdc170;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a82f",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 55,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71969,
    "c": 0.13634,
    "h": 104
  },
  "luminance": 0.37794
}

Semantic roles & 50–950 ramp

primary
#B3A82F
secondary
#787EC6
accent
#53E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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