#B2A249#B2A249

#B2A249 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.111 H 99.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B2A249
RGBrgb(178, 162, 73)
HSLhsl(51, 42%, 49%)
HSVhsv(51, 59%, 70%)
CMYKcmyk(0%, 9%, 59%, 30.2%)
CIE-LABlab(66.36, -5.41, 47.46)
CIE-LCHlch(66.36, 47.77, 96.50°)
OKLaboklab(70.81% -0.0178 0.1099)
OKLCHoklch(70.81% 0.111 99.2)
XYZxyz(32.4843, 35.7880, 11.4987)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A249 #4959B2
analogous
#B26E49 #B2A249 #8EB249
triadic
#B2A249 #49B2A2 #A249B2
tetradic
#B2A249 #49B26E #4959B2 #B2498E
square
#B2A249 #49B26E #4959B2 #B2498E
split-complementary
#B2A249 #498EB2 #6E49B2
monochromatic
#5B5325 #877B37 #B2A249 #C5B973 #D7CF9E

Accessibility & contrast

On white

2.57
#B2A249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B2A249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A249
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A249#FFFFFF#000000##000000
##B2A2491.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E40
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#BF978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a249;
/* rgb */ color: rgb(178, 162, 73);
/* oklch */ color: oklch(70.8% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#ccbd7f',
    500: '#b2a249',
    950: '#000000',
  },
}
SCSS
$custom: #b2a249;
$custom-light: #ccbd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a249",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 73
  },
  "hsl": {
    "h": 50.857,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70814,
    "c": 0.11133,
    "h": 99.2
  },
  "luminance": 0.35787
}

Semantic roles & 50–950 ramp

primary
#B2A249
secondary
#939AC4
accent
#69D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A249

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

Preview Lab → · Contrast checker → · Palette generator →

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