#B2B447#B2B447

#B2B447 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.131 H 110.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B2B447
RGBrgb(178, 180, 71)
HSLhsl(61, 43%, 49%)
HSVhsv(61, 61%, 71%)
CMYKcmyk(1.1%, 0%, 60.6%, 29.4%)
CIE-LABlab(71.26, -14.95, 53.79)
CIE-LCHlch(71.26, 55.83, 105.53°)
OKLaboklab(74.71% -0.0452 0.1231)
OKLCHoklch(74.71% 0.131 110.2)
XYZxyz(35.8197, 42.5633, 12.2887)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B447 #4947B4
analogous
#B48047 #B2B447 #7CB447
triadic
#B2B447 #47B2B4 #B447B2
tetradic
#B2B447 #47B480 #4947B4 #B4477C
square
#B2B447 #47B480 #4947B4 #B4477C
split-complementary
#B2B447 #477CB4 #8047B4
monochromatic
#5B5C24 #878836 #B2B447 #C5C771 #D7D89D

Accessibility & contrast

On white

2.21
#B2B447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B2B447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B447
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B447#FFFFFF#000000##000000
##B2B4471.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3A
Deuteranopia (green-blind)
#C2B04E
Tritanopia (blue-blind)
#BEA99D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b447;
/* rgb */ color: rgb(178, 180, 71);
/* oklch */ color: oklch(74.7% 0.131 110.2);
Tailwind
colors: {
  custom: {
    50: '#ccca7f',
    500: '#b2b447',
    950: '#000000',
  },
}
SCSS
$custom: #b2b447;
$custom-light: #ccca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b447",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 71
  },
  "hsl": {
    "h": 61.101,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74706,
    "c": 0.13116,
    "h": 110.2
  },
  "luminance": 0.42562
}

Semantic roles & 50–950 ramp

primary
#B2B447
secondary
#9392C5
accent
#55D357
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B447

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

Preview Lab → · Contrast checker → · Palette generator →

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