#B2A53D#B2A53D

#B2A53D is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.124 H 102.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B2A53D
RGBrgb(178, 165, 61)
HSLhsl(53, 49%, 47%)
HSVhsv(53, 66%, 70%)
CMYKcmyk(0%, 7.3%, 65.7%, 30.2%)
CIE-LABlab(67.06, -7.82, 53.64)
CIE-LCHlch(67.06, 54.21, 98.29°)
OKLaboklab(71.34% -0.0261 0.1213)
OKLCHoklch(71.34% 0.124 102.2)
XYZxyz(32.6589, 36.7135, 9.7801)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A53D #3D4AB2
analogous
#B26A3D #B2A53D #85B23D
triadic
#B2A53D #3DB2A5 #A53DB2
tetradic
#B2A53D #3DB26A #3D4AB2 #B23D85
square
#B2A53D #3DB26A #3D4AB2 #B23D85
split-complementary
#B2A53D #3D85B2 #6A3DB2
monochromatic
#57501E #847B2D #B2A53D #C9BE63 #D9D190

Accessibility & contrast

On white

2.52
#B2A53D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B2A53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A53D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A53D#FFFFFF#000000##000000
##B2A53D1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A030
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a53d;
/* rgb */ color: rgb(178, 165, 61);
/* oklch */ color: oklch(71.3% 0.124 102.2);
Tailwind
colors: {
  custom: {
    50: '#ccbf78',
    500: '#b2a53d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a53d;
$custom-light: #ccbf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a53d",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 61
  },
  "hsl": {
    "h": 53.333,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71337,
    "c": 0.12409,
    "h": 102.2
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

primary
#B2A53D
secondary
#878EC4
accent
#5FD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A53D

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

Preview Lab → · Contrast checker → · Palette generator →

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