#BFB162#BFB162

#BFB162 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.102 H 99.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BFB162
RGBrgb(191, 177, 98)
HSLhsl(51, 42%, 57%)
HSVhsv(51, 49%, 75%)
CMYKcmyk(0%, 7.3%, 48.7%, 25.1%)
CIE-LABlab(71.83, -5.72, 41.96)
CIE-LCHlch(71.83, 42.35, 97.76°)
OKLaboklab(75.52% -0.0167 0.1002)
OKLCHoklch(75.52% 0.102 99.5)
XYZxyz(39.4137, 43.4039, 17.8545)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB162 #6270BF
analogous
#BF8362 #BFB162 #9FBF62
triadic
#BFB162 #62BFB1 #B162BF
tetradic
#BFB162 #62BF83 #6270BF #BF629F
square
#BFB162 #62BF83 #6270BF #BF629F
split-complementary
#BFB162 #629FBF #8362BF
monochromatic
#766C30 #A29342 #BFB162 #D1C78D #E2DCB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB162#FFFFFF#000000##000000
##BFB1621.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)
#BEAD5B
Deuteranopia (green-blind)
#C2B265
Tritanopia (blue-blind)
#CBA79E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb162;
/* rgb */ color: rgb(191, 177, 98);
/* oklch */ color: oklch(75.5% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#d4c890',
    500: '#bfb162',
    950: '#000000',
  },
}
SCSS
$custom: #bfb162;
$custom-light: #d4c890;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb162",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 50.968,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.75518,
    "c": 0.10158,
    "h": 99.5
  },
  "luminance": 0.43402
}

Semantic roles & 50–950 ramp

primary
#BFB162
secondary
#ABB1D1
accent
#69D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D

Preview Lab

Preview with #BFB162

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

Preview Lab → · Contrast checker → · Palette generator →

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