#B2AB3F#B2AB3F

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

Color values

HEX#B2AB3F
RGBrgb(178, 171, 63)
HSLhsl(56, 48%, 47%)
HSVhsv(56, 65%, 70%)
CMYKcmyk(0%, 3.9%, 64.6%, 30.2%)
CIE-LABlab(68.72, -10.84, 54.53)
CIE-LCHlch(68.72, 55.59, 101.24°)
OKLaboklab(72.66% -0.0345 0.1235)
OKLCHoklch(72.66% 0.128 105.6)
XYZxyz(33.8214, 38.9509, 10.4384)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB3F #3F46B2
analogous
#B2723F #B2AB3F #7FB23F
triadic
#B2AB3F #3FB2AB #AB3FB2
tetradic
#B2AB3F #3FB272 #3F46B2 #B23F7F
square
#B2AB3F #3FB272 #3F46B2 #B23F7F
split-complementary
#B2AB3F #3F7FB2 #723FB2
monochromatic
#58541F #85802F #B2AB3F #C9C366 #D9D493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AB3F#FFFFFF#000000##000000
##B2AB3F1.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)
#B9A531
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#BFA095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab3f;
/* rgb */ color: rgb(178, 171, 63);
/* oklch */ color: oklch(72.7% 0.128 105.6);
Tailwind
colors: {
  custom: {
    50: '#ccc379',
    500: '#b2ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab3f;
$custom-light: #ccc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab3f",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 56.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72658,
    "c": 0.12823,
    "h": 105.6
  },
  "luminance": 0.3895
}

Semantic roles & 50–950 ramp

primary
#B2AB3F
secondary
#898CC4
accent
#59D750
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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