#B2AA3C#B2AA3C

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

Color values

HEX#B2AA3C
RGBrgb(178, 170, 60)
HSLhsl(56, 50%, 47%)
HSVhsv(56, 66%, 70%)
CMYKcmyk(0%, 4.5%, 66.3%, 30.2%)
CIE-LABlab(68.42, -10.50, 55.48)
CIE-LCHlch(68.42, 56.46, 100.72°)
OKLaboklab(72.41% -0.0339 0.125)
OKLCHoklch(72.41% 0.13 105.2)
XYZxyz(33.5517, 38.5419, 9.9461)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA3C #3C44B2
analogous
#B26F3C #B2AA3C #7FB23C
triadic
#B2AA3C #3CB2AA #AA3CB2
tetradic
#B2AA3C #3CB26F #3C44B2 #B23C7F
square
#B2AA3C #3CB26F #3C44B2 #B23C7F
split-complementary
#B2AA3C #3C7FB2 #6F3CB2
monochromatic
#56531D #847E2D #B2AA3C #CAC361 #D9D48F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA3C#FFFFFF#000000##000000
##B2AA3C1.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)
#B8A42D
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa3c;
/* rgb */ color: rgb(178, 170, 60);
/* oklch */ color: oklch(72.4% 0.130 105.2);
Tailwind
colors: {
  custom: {
    50: '#ccc378',
    500: '#b2aa3c',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa3c;
$custom-light: #ccc378;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa3c",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 55.932,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.12954,
    "h": 105.2
  },
  "luminance": 0.38541
}

Semantic roles & 50–950 ramp

primary
#B2AA3C
secondary
#868AC4
accent
#58D94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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