#B3A862#B3A862

#B3A862 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.092 H 100.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B3A862
RGBrgb(179, 168, 98)
HSLhsl(52, 35%, 54%)
HSVhsv(52, 45%, 70%)
CMYKcmyk(0%, 6.1%, 45.3%, 29.8%)
CIE-LABlab(68.37, -5.96, 37.46)
CIE-LCHlch(68.37, 37.93, 99.04°)
OKLaboklab(72.52% -0.0167 0.0903)
OKLCHoklch(72.52% 0.092 100.5)
XYZxyz(34.7985, 38.4719, 17.1457)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A862 #626DB3
analogous
#B38062 #B3A862 #96B362
triadic
#B3A862 #62B3A8 #A862B3
tetradic
#B3A862 #62B380 #626DB3 #B36296
square
#B3A862 #62B380 #626DB3 #B36296
split-complementary
#B3A862 #6296B3 #8062B3
monochromatic
#686132 #918746 #B3A862 #C7BF8B #DBD6B4

Accessibility & contrast

On white

2.42
#B3A862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B3A862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A862
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A862#FFFFFF#000000##000000
##B3A8621.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45C
Deuteranopia (green-blind)
#B7A965
Tritanopia (blue-blind)
#BE9F97
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3a862;
/* rgb */ color: rgb(179, 168, 98);
/* oklch */ color: oklch(72.5% 0.092 100.5);
Tailwind
colors: {
  custom: {
    50: '#cbc190',
    500: '#b3a862',
    950: '#000000',
  },
}
SCSS
$custom: #b3a862;
$custom-light: #cbc190;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a862",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 51.852,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.72524,
    "c": 0.09188,
    "h": 100.5
  },
  "luminance": 0.38471
}

Semantic roles & 50–950 ramp

primary
#B3A862
secondary
#A7ACCA
accent
#6CCB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B3A862

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

Preview Lab → · Contrast checker → · Palette generator →

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