#B2AA3F#B2AA3F

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

Color values

HEX#B2AA3F
RGBrgb(178, 170, 63)
HSLhsl(56, 48%, 47%)
HSVhsv(56, 65%, 70%)
CMYKcmyk(0%, 4.5%, 64.6%, 30.2%)
CIE-LABlab(68.44, -10.32, 54.24)
CIE-LCHlch(68.44, 55.21, 100.77°)
OKLaboklab(72.44% -0.033 0.1229)
OKLCHoklch(72.44% 0.127 105)
XYZxyz(33.6333, 38.5745, 10.3756)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA3F #3F47B2
analogous
#B2713F #B2AA3F #81B23F
triadic
#B2AA3F #3FB2AA #AA3FB2
tetradic
#B2AA3F #3FB271 #3F47B2 #B23F81
square
#B2AA3F #3FB271 #3F47B2 #B23F81
split-complementary
#B2AA3F #3F81B2 #713FB2
monochromatic
#58541F #857F2F #B2AA3F #C9C266 #D9D493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA3F#FFFFFF#000000##000000
##B2AA3F1.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)
#B8A431
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#BF9F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa3f;
/* rgb */ color: rgb(178, 170, 63);
/* oklch */ color: oklch(72.4% 0.127 105.0);
Tailwind
colors: {
  custom: {
    50: '#ccc379',
    500: '#b2aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa3f;
$custom-light: #ccc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa3f",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 55.826,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.12725,
    "h": 105
  },
  "luminance": 0.38573
}

Semantic roles & 50–950 ramp

primary
#B2AA3F
secondary
#898DC4
accent
#5AD750
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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