#B2A254#B2A254

#B2A254 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.101 H 98.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B2A254
RGBrgb(178, 162, 84)
HSLhsl(50, 38%, 51%)
HSVhsv(50, 53%, 70%)
CMYKcmyk(0%, 9%, 52.8%, 30.2%)
CIE-LABlab(66.48, -4.51, 42.25)
CIE-LCHlch(66.48, 42.49, 96.10°)
OKLaboklab(70.95% -0.014 0.0998)
OKLCHoklch(70.95% 0.101 98)
XYZxyz(32.8818, 35.9470, 13.5922)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A254 #5464B2
analogous
#B27354 #B2A254 #93B254
triadic
#B2A254 #54B2A2 #A254B2
tetradic
#B2A254 #54B273 #5464B2 #B25493
square
#B2A254 #54B273 #5464B2 #B25493
split-complementary
#B2A254 #5493B2 #7354B2
monochromatic
#60572B #8A7E3E #B2A254 #C5B97E #D8D0A8

Accessibility & contrast

On white

2.56
#B2A254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B2A254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A254
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A254#FFFFFF#000000##000000
##B2A2541.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4D
Deuteranopia (green-blind)
#B4A457
Tritanopia (blue-blind)
#BE9890
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a254;
/* rgb */ color: rgb(178, 162, 84);
/* oklch */ color: oklch(71.0% 0.101 98.0);
Tailwind
colors: {
  custom: {
    50: '#cbbd86',
    500: '#b2a254',
    950: '#000000',
  },
}
SCSS
$custom: #b2a254;
$custom-light: #cbbd86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a254",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 49.787,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7095,
    "c": 0.1008,
    "h": 98
  },
  "luminance": 0.35946
}

Semantic roles & 50–950 ramp

primary
#B2A254
secondary
#9CA3C6
accent
#6ECE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A254

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

Preview Lab → · Contrast checker → · Palette generator →

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