#B3AA2E#B3AA2E

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

Color values

HEX#B3AA2E
RGBrgb(179, 170, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 70%)
CMYKcmyk(0%, 5%, 74.3%, 29.8%)
CIE-LABlab(68.41, -10.79, 60.87)
CIE-LCHlch(68.41, 61.82, 100.05°)
OKLaboklab(72.4% -0.0362 0.1339)
OKLCHoklch(72.4% 0.139 105.1)
XYZxyz(33.4597, 38.5317, 8.2591)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA2E #2E37B3
analogous
#B3682E #B3AA2E #7AB32E
triadic
#B3AA2E #2EB3AA #AA2EB3
tetradic
#B3AA2E #2EB368 #2E37B3 #B32E7A
square
#B3AA2E #2EB368 #2E37B3 #B32E7A
split-complementary
#B3AA2E #2E7AB3 #682EB3
monochromatic
#524E15 #827C21 #B3AA2E #D1C84D #DED77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AA2E#FFFFFF#000000##000000
##B3AA2E1.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)
#B9A415
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa2e;
/* rgb */ color: rgb(179, 170, 46);
/* oklch */ color: oklch(72.4% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc370',
    500: '#b3aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa2e;
$custom-light: #cdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa2e",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 55.94,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72398,
    "c": 0.13874,
    "h": 105.1
  },
  "luminance": 0.3853
}

Semantic roles & 50–950 ramp

primary
#B3AA2E
secondary
#767CC6
accent
#50E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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