#B2B147#B2B147

#B2B147 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.128 H 108.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B2B147
RGBrgb(178, 177, 71)
HSLhsl(59, 43%, 49%)
HSVhsv(59, 60%, 70%)
CMYKcmyk(0%, 0.6%, 60.1%, 30.2%)
CIE-LABlab(70.43, -13.41, 52.89)
CIE-LCHlch(70.43, 54.57, 104.23°)
OKLaboklab(74.05% -0.0409 0.1212)
OKLCHoklch(74.05% 0.128 108.6)
XYZxyz(35.2206, 41.3652, 12.0890)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B147 #4748B2
analogous
#B27C47 #B2B147 #7EB247
triadic
#B2B147 #47B2B1 #B147B2
tetradic
#B2B147 #47B27C #4748B2 #B2477E
square
#B2B147 #47B27C #4748B2 #B2477E
split-complementary
#B2B147 #477EB2 #7C47B2
monochromatic
#5B5A24 #868536 #B2B147 #C6C570 #D7D79C

Accessibility & contrast

On white

2.26
#B2B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B2B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B147
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B147#FFFFFF#000000##000000
##B2B1471.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b147;
/* rgb */ color: rgb(178, 177, 71);
/* oklch */ color: oklch(74.0% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#ccc87f',
    500: '#b2b147',
    950: '#000000',
  },
}
SCSS
$custom: #b2b147;
$custom-light: #ccc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b147",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 59.439,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.12792,
    "h": 108.6
  },
  "luminance": 0.41364
}

Semantic roles & 50–950 ramp

primary
#B2B147
secondary
#9191C4
accent
#56D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B147

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

Preview Lab → · Contrast checker → · Palette generator →

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