#B2A53E#B2A53E

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

Color values

HEX#B2A53E
RGBrgb(178, 165, 62)
HSLhsl(53, 48%, 47%)
HSVhsv(53, 65%, 70%)
CMYKcmyk(0%, 7.3%, 65.2%, 30.2%)
CIE-LABlab(67.07, -7.76, 53.22)
CIE-LCHlch(67.07, 53.78, 98.29°)
OKLaboklab(71.35% -0.0258 0.1206)
OKLCHoklch(71.35% 0.123 102.1)
XYZxyz(32.6860, 36.7244, 9.9233)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A53E #3E4BB2
analogous
#B26B3E #B2A53E #85B23E
triadic
#B2A53E #3EB2A5 #A53EB2
tetradic
#B2A53E #3EB26B #3E4BB2 #B23E85
square
#B2A53E #3EB26B #3E4BB2 #B23E85
split-complementary
#B2A53E #3E85B2 #6B3EB2
monochromatic
#57511E #857B2E #B2A53E #C9BE64 #D9D192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A53E#FFFFFF#000000##000000
##B2A53E1.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)
#B4A031
Deuteranopia (green-blind)
#B7A644
Tritanopia (blue-blind)
#BF9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a53e;
/* rgb */ color: rgb(178, 165, 62);
/* oklch */ color: oklch(71.3% 0.123 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbf78',
    500: '#b2a53e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a53e;
$custom-light: #ccbf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a53e",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 62
  },
  "hsl": {
    "h": 53.276,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71346,
    "c": 0.12332,
    "h": 102.1
  },
  "luminance": 0.36723
}

Semantic roles & 50–950 ramp

primary
#B2A53E
secondary
#888FC4
accent
#5FD850
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A53E

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

Preview Lab → · Contrast checker → · Palette generator →

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