#B9B562#B9B562

#B9B562 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.106 H 106.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B9B562
RGBrgb(185, 181, 98)
HSLhsl(57, 38%, 55%)
HSVhsv(57, 47%, 73%)
CMYKcmyk(0%, 2.2%, 47%, 27.5%)
CIE-LABlab(72.39, -10.29, 42.53)
CIE-LCHlch(72.39, 43.75, 103.60°)
OKLaboklab(75.84% -0.0295 0.1015)
OKLCHoklch(75.84% 0.106 106.2)
XYZxyz(38.7369, 44.2449, 18.0525)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B562 #6266B9
analogous
#B98962 #B9B562 #92B962
triadic
#B9B562 #62B9B5 #B562B9
tetradic
#B9B562 #62B989 #6266B9 #B96292
square
#B9B562 #62B989 #6266B9 #B96292
split-complementary
#B9B562 #6292B9 #8962B9
monochromatic
#6F6C32 #999544 #B9B562 #CCC98C #DFDDB7

Accessibility & contrast

On white

2.13
#B9B562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B9B562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B562
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B562#FFFFFF#000000##000000
##B9B5621.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5B
Deuteranopia (green-blind)
#C3B366
Tritanopia (blue-blind)
#C4ACA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b562;
/* rgb */ color: rgb(185, 181, 98);
/* oklch */ color: oklch(75.8% 0.106 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0cb90',
    500: '#b9b562',
    950: '#000000',
  },
}
SCSS
$custom: #b9b562;
$custom-light: #d0cb90;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b562",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 57.241,
    "s": 38.326,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75842,
    "c": 0.10574,
    "h": 106.2
  },
  "luminance": 0.44244
}

Semantic roles & 50–950 ramp

primary
#B9B562
secondary
#A9ABCE
accent
#5FCE5A
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#14130D
muted
#82827E

Preview Lab

Preview with #B9B562

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

Preview Lab → · Contrast checker → · Palette generator →

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