#B3AA2F#B3AA2F

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

Color values

HEX#B3AA2F
RGBrgb(179, 170, 47)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 74%, 70%)
CMYKcmyk(0%, 5%, 73.7%, 29.8%)
CIE-LABlab(68.42, -10.75, 60.53)
CIE-LCHlch(68.42, 61.47, 100.07°)
OKLaboklab(72.41% -0.036 0.1334)
OKLCHoklch(72.41% 0.138 105.1)
XYZxyz(33.4796, 38.5397, 8.3641)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA2F #2F38B3
analogous
#B3682F #B3AA2F #7AB32F
triadic
#B3AA2F #2FB3AA #AA2FB3
tetradic
#B3AA2F #2FB368 #2F38B3 #B32F7A
square
#B3AA2F #2FB368 #2F38B3 #B32F7A
split-complementary
#B3AA2F #2F7AB3 #682FB3
monochromatic
#524E16 #837C22 #B3AA2F #D1C84F #DDD77F

Accessibility & contrast

On white

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

On black

8.71
#B3AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA2F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA2F#FFFFFF#000000##000000
##B3AA2F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A417
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#C09E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa2f;
/* rgb */ color: rgb(179, 170, 47);
/* oklch */ color: oklch(72.4% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc371',
    500: '#b3aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa2f;
$custom-light: #cdc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa2f",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 55.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72405,
    "c": 0.13815,
    "h": 105.1
  },
  "luminance": 0.38538
}

Semantic roles & 50–950 ramp

primary
#B3AA2F
secondary
#787DC6
accent
#51E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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