#B8B262#B8B262

#B8B262 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.102 H 104.8°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B8B262
RGBrgb(184, 178, 98)
HSLhsl(56, 38%, 55%)
HSVhsv(56, 47%, 72%)
CMYKcmyk(0%, 3.3%, 46.7%, 27.8%)
CIE-LABlab(71.50, -9.14, 41.42)
CIE-LCHlch(71.50, 42.41, 102.45°)
OKLaboklab(75.11% -0.0262 0.0991)
OKLCHoklch(75.11% 0.102 104.8)
XYZxyz(37.8930, 42.9140, 17.8401)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B262 #6268B8
analogous
#B88762 #B8B262 #93B862
triadic
#B8B262 #62B8B2 #B262B8
tetradic
#B8B262 #62B887 #6268B8 #B86293
square
#B8B262 #62B887 #6268B8 #B86293
split-complementary
#B8B262 #6293B8 #8762B8
monochromatic
#6E6A32 #989245 #B8B262 #CBC78C #DEDBB6

Accessibility & contrast

On white

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

On black

9.58
#B8B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B262
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B262#FFFFFF#000000##000000
##B8B2621.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b262;
/* rgb */ color: rgb(184, 178, 98);
/* oklch */ color: oklch(75.1% 0.102 104.8);
Tailwind
colors: {
  custom: {
    50: '#cfc890',
    500: '#b8b262',
    950: '#000000',
  },
}
SCSS
$custom: #b8b262;
$custom-light: #cfc890;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b262",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 55.814,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7511,
    "c": 0.10249,
    "h": 104.8
  },
  "luminance": 0.42913
}

Semantic roles & 50–950 ramp

primary
#B8B262
secondary
#A9ABCD
accent
#62CE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D

Preview Lab

Preview with #B8B262

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

Preview Lab → · Contrast checker → · Palette generator →

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