#B3AA2D#B3AA2D

#B3AA2D is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.139 H 105.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B3AA2D
RGBrgb(179, 170, 45)
HSLhsl(56, 60%, 44%)
HSVhsv(56, 75%, 70%)
CMYKcmyk(0%, 5%, 74.9%, 29.8%)
CIE-LABlab(68.41, -10.84, 61.22)
CIE-LCHlch(68.41, 62.17, 100.04°)
OKLaboklab(72.39% -0.0364 0.1345)
OKLCHoklch(72.39% 0.139 105.2)
XYZxyz(33.4402, 38.5239, 8.1565)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA2D #2D36B3
analogous
#B3672D #B3AA2D #79B32D
triadic
#B3AA2D #2DB3AA #AA2DB3
tetradic
#B3AA2D #2DB367 #2D36B3 #B32D79
square
#B3AA2D #2DB367 #2D36B3 #B32D79
split-complementary
#B3AA2D #2D79B3 #672DB3
monochromatic
#514D14 #827C21 #B3AA2D #D2C94B #DED87C

Accessibility & contrast

On white

2.41
#B3AA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B3AA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA2D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA2D#FFFFFF#000000##000000
##B3AA2D1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A413
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa2d;
/* rgb */ color: rgb(179, 170, 45);
/* oklch */ color: oklch(72.4% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc370',
    500: '#b3aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa2d;
$custom-light: #cdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa2d",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 55.97,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72392,
    "c": 0.13931,
    "h": 105.2
  },
  "luminance": 0.38523
}

Semantic roles & 50–950 ramp

primary
#B3AA2D
secondary
#757BC7
accent
#4FE345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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