#B2AA3D#B2AA3D

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

Color values

HEX#B2AA3D
RGBrgb(178, 170, 61)
HSLhsl(56, 49%, 47%)
HSVhsv(56, 66%, 70%)
CMYKcmyk(0%, 4.5%, 65.7%, 30.2%)
CIE-LABlab(68.43, -10.44, 55.07)
CIE-LCHlch(68.43, 56.05, 100.74°)
OKLaboklab(72.42% -0.0336 0.1243)
OKLCHoklch(72.42% 0.129 105.1)
XYZxyz(33.5784, 38.5526, 10.0866)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA3D #3D45B2
analogous
#B26F3D #B2AA3D #80B23D
triadic
#B2AA3D #3DB2AA #AA3DB2
tetradic
#B2AA3D #3DB26F #3D45B2 #B23D80
square
#B2AA3D #3DB26F #3D45B2 #B23D80
split-complementary
#B2AA3D #3D80B2 #6F3DB2
monochromatic
#57531E #847E2D #B2AA3D #C9C263 #D9D490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA3D#FFFFFF#000000##000000
##B2AA3D1.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)
#B8A42F
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#BF9F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa3d;
/* rgb */ color: rgb(178, 170, 61);
/* oklch */ color: oklch(72.4% 0.129 105.1);
Tailwind
colors: {
  custom: {
    50: '#ccc378',
    500: '#b2aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa3d;
$custom-light: #ccc378;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa3d",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 55.897,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.12879,
    "h": 105.1
  },
  "luminance": 0.38551
}

Semantic roles & 50–950 ramp

primary
#B2AA3D
secondary
#878BC4
accent
#59D94F
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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