#B2A968#B2A968

#B2A968 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.086 H 101.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B2A968
RGBrgb(178, 169, 104)
HSLhsl(53, 32%, 55%)
HSVhsv(53, 42%, 70%)
CMYKcmyk(0%, 5.1%, 41.6%, 30.2%)
CIE-LABlab(68.64, -6.27, 34.66)
CIE-LCHlch(68.64, 35.23, 100.25°)
OKLaboklab(72.75% -0.017 0.0844)
OKLCHoklch(72.75% 0.086 101.4)
XYZxyz(35.0475, 38.8414, 18.7450)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A968 #6871B2
analogous
#B28468 #B2A968 #96B268
triadic
#B2A968 #68B2A9 #A968B2
tetradic
#B2A968 #68B284 #6871B2 #B26896
square
#B2A968 #68B284 #6871B2 #B26896
split-complementary
#B2A968 #6896B2 #8468B2
monochromatic
#6A6336 #928A4B #B2A968 #C7C091 #DBD7B9

Accessibility & contrast

On white

2.40
#B2A968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B2A968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A968
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A968#FFFFFF#000000##000000
##B2A9681.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A563
Deuteranopia (green-blind)
#B7A96B
Tritanopia (blue-blind)
#BCA199
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2a968;
/* rgb */ color: rgb(178, 169, 104);
/* oklch */ color: oklch(72.7% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#cac294',
    500: '#b2a968',
    950: '#000000',
  },
}
SCSS
$custom: #b2a968;
$custom-light: #cac294;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a968",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 104
  },
  "hsl": {
    "h": 52.703,
    "s": 32.456,
    "l": 55.294
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.0861,
    "h": 101.4
  },
  "luminance": 0.3884
}

Semantic roles & 50–950 ramp

primary
#B2A968
secondary
#ABAFCA
accent
#6CC95F
background
#FCFBF9
surface
#F9F7F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A968

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

Preview Lab → · Contrast checker → · Palette generator →

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