#B2B647#B2B647

#B2B647 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.133 H 111.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B2B647
RGBrgb(178, 182, 71)
HSLhsl(62, 44%, 50%)
HSVhsv(62, 61%, 71%)
CMYKcmyk(2.2%, 0%, 61%, 28.6%)
CIE-LABlab(71.81, -15.97, 54.39)
CIE-LCHlch(71.81, 56.69, 106.36°)
OKLaboklab(75.15% -0.0481 0.1244)
OKLCHoklch(75.15% 0.133 111.2)
XYZxyz(36.2264, 43.3767, 12.4242)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B647 #4B47B6
analogous
#B68347 #B2B647 #7BB647
triadic
#B2B647 #47B2B6 #B647B2
tetradic
#B2B647 #47B683 #4B47B6 #B6477B
square
#B2B647 #47B683 #4B47B6 #B6477B
split-complementary
#B2B647 #477BB6 #8347B6
monochromatic
#5C5E25 #878A36 #B2B647 #C5C872 #D7D99E

Accessibility & contrast

On white

2.17
#B2B647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B2B647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B647
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B647#FFFFFF#000000##000000
##B2B6471.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3A
Deuteranopia (green-blind)
#C4B14E
Tritanopia (blue-blind)
#BDAB9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b647;
/* rgb */ color: rgb(178, 182, 71);
/* oklch */ color: oklch(75.1% 0.133 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb7f',
    500: '#b2b647',
    950: '#000000',
  },
}
SCSS
$custom: #b2b647;
$custom-light: #cccb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b647",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 62.162,
    "s": 43.874,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75147,
    "c": 0.13337,
    "h": 111.2
  },
  "luminance": 0.43376
}

Semantic roles & 50–950 ramp

primary
#B2B647
secondary
#9593C6
accent
#54D459
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B647

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

Preview Lab → · Contrast checker → · Palette generator →

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