#BEB271#BEB271

#BEB271 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.086 H 99.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#BEB271
RGBrgb(190, 178, 113)
HSLhsl(51, 37%, 59%)
HSVhsv(51, 41%, 75%)
CMYKcmyk(0%, 6.3%, 40.5%, 25.5%)
CIE-LABlab(72.22, -5.12, 34.75)
CIE-LCHlch(72.22, 35.12, 98.38°)
OKLaboklab(75.87% -0.0135 0.0849)
OKLCHoklch(75.87% 0.086 99.1)
XYZxyz(40.1370, 43.9814, 21.9946)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB271 #717DBE
analogous
#BE8C71 #BEB271 #A4BE71
triadic
#BEB271 #71BEB2 #B271BE
tetradic
#BEB271 #71BE8C #717DBE #BE71A4
square
#BEB271 #71BE8C #717DBE #BE71A4
split-complementary
#BEB271 #71A4BE #8C71BE
monochromatic
#7C7139 #A6984C #BEB271 #D1C99B #E4E0C5

Accessibility & contrast

On white

2.14
#BEB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#BEB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB271
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB271#FFFFFF#000000##000000
##BEB2711.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAE6C
Deuteranopia (green-blind)
#C1B373
Tritanopia (blue-blind)
#C9A9A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #beb271;
/* rgb */ color: rgb(190, 178, 113);
/* oklch */ color: oklch(75.9% 0.086 99.1);
Tailwind
colors: {
  custom: {
    50: '#d3c89a',
    500: '#beb271',
    950: '#000000',
  },
}
SCSS
$custom: #beb271;
$custom-light: #d3c89a;
$custom-dark: #000000;
JSON
{
  "hex": "#beb271",
  "rgb": {
    "r": 190,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 50.649,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.75872,
    "c": 0.08601,
    "h": 99.1
  },
  "luminance": 0.4398
}

Semantic roles & 50–950 ramp

primary
#BEB271
secondary
#B6BBD4
accent
#6CCD5B
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E

Preview Lab

Preview with #BEB271

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

Preview Lab → · Contrast checker → · Palette generator →

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