#B1B047#B1B047

#B1B047 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.127 H 108.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B1B047
RGBrgb(177, 176, 71)
HSLhsl(59, 43%, 49%)
HSVhsv(59, 60%, 69%)
CMYKcmyk(0%, 0.6%, 59.9%, 30.6%)
CIE-LABlab(70.07, -13.32, 52.48)
CIE-LCHlch(70.07, 54.14, 104.25°)
OKLaboklab(73.74% -0.0406 0.1204)
OKLCHoklch(73.74% 0.127 108.6)
XYZxyz(34.7952, 40.8537, 12.0127)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B047 #4748B1
analogous
#B17B47 #B1B047 #7DB147
triadic
#B1B047 #47B1B0 #B047B1
tetradic
#B1B047 #47B17B #4748B1 #B1477D
square
#B1B047 #47B17B #4748B1 #B1477D
split-complementary
#B1B047 #477DB1 #7B47B1
monochromatic
#5A5924 #858535 #B1B047 #C6C570 #D7D69B

Accessibility & contrast

On white

2.29
#B1B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#B1B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B047
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B047#FFFFFF#000000##000000
##B1B0471.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#BDA69A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b047;
/* rgb */ color: rgb(177, 176, 71);
/* oklch */ color: oklch(73.7% 0.127 108.6);
Tailwind
colors: {
  custom: {
    50: '#cbc77f',
    500: '#b1b047',
    950: '#000000',
  },
}
SCSS
$custom: #b1b047;
$custom-light: #cbc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b047",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 59.434,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73741,
    "c": 0.12701,
    "h": 108.6
  },
  "luminance": 0.40853
}

Semantic roles & 50–950 ramp

primary
#B1B047
secondary
#9091C3
accent
#56D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1B047

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

Preview Lab → · Contrast checker → · Palette generator →

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