#B2B347#B2B347

#B2B347 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.130 H 109.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B2B347
RGBrgb(178, 179, 71)
HSLhsl(61, 43%, 49%)
HSVhsv(61, 60%, 70%)
CMYKcmyk(0.6%, 0%, 60.3%, 29.8%)
CIE-LABlab(70.98, -14.44, 53.49)
CIE-LCHlch(70.98, 55.41, 105.11°)
OKLaboklab(74.49% -0.0438 0.1225)
OKLCHoklch(74.49% 0.13 109.7)
XYZxyz(35.6186, 42.1610, 12.2216)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B347 #4847B3
analogous
#B37E47 #B2B347 #7CB347
triadic
#B2B347 #47B2B3 #B347B2
tetradic
#B2B347 #47B37E #4847B3 #B3477C
square
#B2B347 #47B37E #4847B3 #B3477C
split-complementary
#B2B347 #477CB3 #7E47B3
monochromatic
#5B5B24 #868736 #B2B347 #C6C771 #D7D89C

Accessibility & contrast

On white

2.23
#B2B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B2B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B347
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B347#FFFFFF#000000##000000
##B2B3471.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3A
Deuteranopia (green-blind)
#C2AF4D
Tritanopia (blue-blind)
#BEA89C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b347;
/* rgb */ color: rgb(178, 179, 71);
/* oklch */ color: oklch(74.5% 0.130 109.7);
Tailwind
colors: {
  custom: {
    50: '#ccc97f',
    500: '#b2b347',
    950: '#000000',
  },
}
SCSS
$custom: #b2b347;
$custom-light: #ccc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b347",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 60.556,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74486,
    "c": 0.13008,
    "h": 109.7
  },
  "luminance": 0.4216
}

Semantic roles & 50–950 ramp

primary
#B2B347
secondary
#9291C4
accent
#55D356
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B347

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

Preview Lab → · Contrast checker → · Palette generator →

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