#B3AA1F#B3AA1F

#B3AA1F is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.146 H 105.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B3AA1F
RGBrgb(179, 170, 31)
HSLhsl(56, 70%, 41%)
HSVhsv(56, 83%, 70%)
CMYKcmyk(0%, 5%, 82.7%, 29.8%)
CIE-LABlab(68.34, -11.35, 65.43)
CIE-LCHlch(68.34, 66.40, 99.84°)
OKLaboklab(72.32% -0.039 0.1408)
OKLCHoklch(72.32% 0.146 105.5)
XYZxyz(33.2139, 38.4334, 6.9649)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA1F #1F28B3
analogous
#B3601F #B3AA1F #72B31F
triadic
#B3AA1F #1FB3AA #AA1FB3
tetradic
#B3AA1F #1FB360 #1F28B3 #B31F72
square
#B3AA1F #1FB360 #1F28B3 #B31F72
split-complementary
#B3AA1F #1F72B3 #601FB3
monochromatic
#4B470D #7F7816 #B3AA1F #DCD233 #E5DD68

Accessibility & contrast

On white

2.42
#B3AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B3AA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA1F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA1F#FFFFFF#000000##000000
##B3AA1F1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BDA92C
Tritanopia (blue-blind)
#C19E91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa1f;
/* rgb */ color: rgb(179, 170, 31);
/* oklch */ color: oklch(72.3% 0.146 105.5);
Tailwind
colors: {
  custom: {
    50: '#cec26a',
    500: '#b3aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa1f;
$custom-light: #cec26a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa1f",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 56.351,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.14615,
    "h": 105.5
  },
  "luminance": 0.38432
}

Semantic roles & 50–950 ramp

primary
#B3AA1F
secondary
#646ACA
accent
#45ED3B
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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