#B2A062#B2A062

#B2A062 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.084 H 93.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B2A062
RGBrgb(178, 160, 98)
HSLhsl(47, 34%, 54%)
HSVhsv(47, 45%, 70%)
CMYKcmyk(0%, 10.1%, 44.9%, 30.2%)
CIE-LABlab(66.13, -2.10, 34.63)
CIE-LCHlch(66.13, 34.70, 93.46°)
OKLaboklab(70.73% -0.0055 0.084)
OKLCHoklch(70.73% 0.084 93.8)
XYZxyz(33.1364, 35.4897, 16.6576)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A062 #6274B2
analogous
#B27862 #B2A062 #9CB262
triadic
#B2A062 #62B2A0 #A062B2
tetradic
#B2A062 #62B278 #6274B2 #B2629C
square
#B2A062 #62B278 #6274B2 #B2629C
split-complementary
#B2A062 #629CB2 #7862B2
monochromatic
#675B33 #908047 #B2A062 #C6B98B #DAD2B4

Accessibility & contrast

On white

2.59
#B2A062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B2A062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A062
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A062#FFFFFF#000000##000000
##B2A0621.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5D
Deuteranopia (green-blind)
#B1A364
Tritanopia (blue-blind)
#BD9791
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a062;
/* rgb */ color: rgb(178, 160, 98);
/* oklch */ color: oklch(70.7% 0.084 93.8);
Tailwind
colors: {
  custom: {
    50: '#cabb8f',
    500: '#b2a062',
    950: '#000000',
  },
}
SCSS
$custom: #b2a062;
$custom-light: #cabb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a062",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 98
  },
  "hsl": {
    "h": 46.5,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70732,
    "c": 0.08417,
    "h": 93.8
  },
  "luminance": 0.35488
}

Semantic roles & 50–950 ramp

primary
#B2A062
secondary
#A7AFC9
accent
#76CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #B2A062

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

Preview Lab → · Contrast checker → · Palette generator →

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