#B2AB3E#B2AB3E

#B2AB3E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.129 H 105.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B2AB3E
RGBrgb(178, 171, 62)
HSLhsl(56, 48%, 47%)
HSVhsv(56, 65%, 70%)
CMYKcmyk(0%, 3.9%, 65.2%, 30.2%)
CIE-LABlab(68.71, -10.90, 54.94)
CIE-LCHlch(68.71, 56.01, 101.22°)
OKLaboklab(72.65% -0.0348 0.1242)
OKLCHoklch(72.65% 0.129 105.6)
XYZxyz(33.7937, 38.9398, 10.2925)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB3E #3E45B2
analogous
#B2713E #B2AB3E #7FB23E
triadic
#B2AB3E #3EB2AB #AB3EB2
tetradic
#B2AB3E #3EB271 #3E45B2 #B23E7F
square
#B2AB3E #3EB271 #3E45B2 #B23E7F
split-complementary
#B2AB3E #3E7FB2 #713EB2
monochromatic
#57541E #857F2E #B2AB3E #C9C364 #D9D592

Accessibility & contrast

On white

2.39
#B2AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B2AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB3E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB3E#FFFFFF#000000##000000
##B2AB3E1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab3e;
/* rgb */ color: rgb(178, 171, 62);
/* oklch */ color: oklch(72.6% 0.129 105.6);
Tailwind
colors: {
  custom: {
    50: '#ccc379',
    500: '#b2ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab3e;
$custom-light: #ccc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab3e",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 56.379,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72649,
    "c": 0.129,
    "h": 105.6
  },
  "luminance": 0.38939
}

Semantic roles & 50–950 ramp

primary
#B2AB3E
secondary
#888BC4
accent
#58D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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