#B0B162#B0B162

#B0B162 is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.102 H 109.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B0B162
RGBrgb(176, 177, 98)
HSLhsl(61, 34%, 54%)
HSVhsv(61, 45%, 69%)
CMYKcmyk(0.6%, 0%, 44.6%, 30.6%)
CIE-LABlab(70.56, -11.92, 40.12)
CIE-LCHlch(70.56, 41.86, 106.55°)
OKLaboklab(74.21% -0.0337 0.0963)
OKLCHoklch(74.21% 0.102 109.3)
XYZxyz(35.8319, 41.5570, 17.6866)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B162 #6362B1
analogous
#B18B62 #B0B162 #89B162
triadic
#B0B162 #62B0B1 #B162B0
tetradic
#B0B162 #62B18B #6362B1 #B16289
square
#B0B162 #62B18B #6362B1 #B16289
split-complementary
#B0B162 #6289B1 #8B62B1
monochromatic
#656633 #8E8F47 #B0B162 #C5C58B #D9DAB4

Accessibility & contrast

On white

2.26
#B0B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B0B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B162
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B162#FFFFFF#000000##000000
##B0B1621.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB5B
Deuteranopia (green-blind)
#BDAE66
Tritanopia (blue-blind)
#BAA89E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b162;
/* rgb */ color: rgb(176, 177, 98);
/* oklch */ color: oklch(74.2% 0.102 109.3);
Tailwind
colors: {
  custom: {
    50: '#c9c890',
    500: '#b0b162',
    950: '#000000',
  },
}
SCSS
$custom: #b0b162;
$custom-light: #c9c890;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b162",
  "rgb": {
    "r": 176,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 60.759,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74208,
    "c": 0.10205,
    "h": 109.3
  },
  "luminance": 0.41556
}

Semantic roles & 50–950 ramp

primary
#B0B162
secondary
#A7A7C8
accent
#5ECA5F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130D
muted
#82827D

Preview Lab

Preview with #B0B162

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

Preview Lab → · Contrast checker → · Palette generator →

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