#B9B262#B9B262

#B9B262 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.102 H 104.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B9B262
RGBrgb(185, 178, 98)
HSLhsl(55, 38%, 55%)
HSVhsv(55, 47%, 73%)
CMYKcmyk(0%, 3.8%, 47%, 27.5%)
CIE-LABlab(71.58, -8.73, 41.54)
CIE-LCHlch(71.58, 42.45, 101.87°)
OKLaboklab(75.2% -0.025 0.0993)
OKLCHoklch(75.2% 0.102 104.2)
XYZxyz(38.1335, 43.0380, 17.8513)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B262 #6269B9
analogous
#B98662 #B9B262 #95B962
triadic
#B9B262 #62B9B2 #B262B9
tetradic
#B9B262 #62B986 #6269B9 #B96295
square
#B9B262 #62B986 #6269B9 #B96295
split-complementary
#B9B262 #6295B9 #8662B9
monochromatic
#6F6A32 #999344 #B9B262 #CCC78C #DFDCB7

Accessibility & contrast

On white

2.19
#B9B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B9B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B262
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B262#FFFFFF#000000##000000
##B9B2621.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAD5B
Deuteranopia (green-blind)
#C1B166
Tritanopia (blue-blind)
#C4A99F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b262;
/* rgb */ color: rgb(185, 178, 98);
/* oklch */ color: oklch(75.2% 0.102 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c890',
    500: '#b9b262',
    950: '#000000',
  },
}
SCSS
$custom: #b9b262;
$custom-light: #d0c890;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b262",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 55.172,
    "s": 38.326,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75197,
    "c": 0.10246,
    "h": 104.2
  },
  "luminance": 0.43037
}

Semantic roles & 50–950 ramp

primary
#B9B262
secondary
#A9ACCE
accent
#63CE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D

Preview Lab

Preview with #B9B262

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

Preview Lab → · Contrast checker → · Palette generator →

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