#B3A662#B3A662

#B3A662 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.090 H 98.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B3A662
RGBrgb(179, 166, 98)
HSLhsl(50, 35%, 54%)
HSVhsv(50, 45%, 70%)
CMYKcmyk(0%, 7.3%, 45.3%, 29.8%)
CIE-LABlab(67.83, -4.89, 36.79)
CIE-LCHlch(67.83, 37.11, 97.58°)
OKLaboklab(72.1% -0.0137 0.0888)
OKLCHoklch(72.1% 0.09 98.7)
XYZxyz(34.4321, 37.7391, 17.0235)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A662 #626FB3
analogous
#B37E62 #B3A662 #98B362
triadic
#B3A662 #62B3A6 #A662B3
tetradic
#B3A662 #62B37E #626FB3 #B36298
square
#B3A662 #62B37E #626FB3 #B36298
split-complementary
#B3A662 #6298B3 #7E62B3
monochromatic
#686032 #918546 #B3A662 #C7BD8B #DBD5B4

Accessibility & contrast

On white

2.46
#B3A662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B3A662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A662
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A662#FFFFFF#000000##000000
##B3A6621.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A25D
Deuteranopia (green-blind)
#B6A765
Tritanopia (blue-blind)
#BE9D96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a662;
/* rgb */ color: rgb(179, 166, 98);
/* oklch */ color: oklch(72.1% 0.090 98.7);
Tailwind
colors: {
  custom: {
    50: '#cbc090',
    500: '#b3a662',
    950: '#000000',
  },
}
SCSS
$custom: #b3a662;
$custom-light: #cbc090;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a662",
  "rgb": {
    "r": 179,
    "g": 166,
    "b": 98
  },
  "hsl": {
    "h": 50.37,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.72097,
    "c": 0.08988,
    "h": 98.7
  },
  "luminance": 0.37738
}

Semantic roles & 50–950 ramp

primary
#B3A662
secondary
#A7ADCA
accent
#6FCB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B3A662

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

Preview Lab → · Contrast checker → · Palette generator →

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