#B2B747#B2B747

#B2B747 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.134 H 111.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B2B747
RGBrgb(178, 183, 71)
HSLhsl(63, 44%, 50%)
HSVhsv(63, 61%, 72%)
CMYKcmyk(2.7%, 0%, 61.2%, 28.2%)
CIE-LABlab(72.09, -16.48, 54.69)
CIE-LCHlch(72.09, 57.12, 106.77°)
OKLaboklab(75.37% -0.0496 0.125)
OKLCHoklch(75.37% 0.134 111.6)
XYZxyz(36.4319, 43.7877, 12.4927)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B747 #4C47B7
analogous
#B78447 #B2B747 #7AB747
triadic
#B2B747 #47B2B7 #B747B2
tetradic
#B2B747 #47B784 #4C47B7 #B7477A
square
#B2B747 #47B784 #4C47B7 #B7477A
split-complementary
#B2B747 #477AB7 #8447B7
monochromatic
#5C5F25 #878B36 #B2B747 #C5C973 #D7DA9F

Accessibility & contrast

On white

2.15
#B2B747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B2B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B747
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B747#FFFFFF#000000##000000
##B2B7471.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#BDAC9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b747;
/* rgb */ color: rgb(178, 183, 71);
/* oklch */ color: oklch(75.4% 0.134 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc7f',
    500: '#b2b747',
    950: '#000000',
  },
}
SCSS
$custom: #b2b747;
$custom-light: #cccc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b747",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 62.679,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75368,
    "c": 0.13448,
    "h": 111.6
  },
  "luminance": 0.43787
}

Semantic roles & 50–950 ramp

primary
#B2B747
secondary
#9694C6
accent
#54D45A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B747

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

Preview Lab → · Contrast checker → · Palette generator →

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