#B2A036#B2A036

#B2A036 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.125 H 99.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B2A036
RGBrgb(178, 160, 54)
HSLhsl(51, 53%, 45%)
HSVhsv(51, 70%, 70%)
CMYKcmyk(0%, 10.1%, 69.7%, 30.2%)
CIE-LABlab(65.65, -5.57, 55.11)
CIE-LCHlch(65.65, 55.39, 95.77°)
OKLaboklab(70.2% -0.0205 0.1232)
OKLCHoklch(70.2% 0.125 99.5)
XYZxyz(31.5982, 34.8744, 8.5564)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A036 #3648B2
analogous
#B26236 #B2A036 #86B236
triadic
#B2A036 #36B2A0 #A036B2
tetradic
#B2A036 #36B262 #3648B2 #B23686
square
#B2A036 #36B262 #3648B2 #B23686
split-complementary
#B2A036 #3686B2 #6236B2
monochromatic
#544C1A #837628 #B2A036 #CDBC59 #DBCF88

Accessibility & contrast

On white

2.63
#B2A036 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B2A036 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A036
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A036#FFFFFF#000000##000000
##B2A0361.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C27
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#C0948B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b2a036;
/* rgb */ color: rgb(178, 160, 54);
/* oklch */ color: oklch(70.2% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#ccbb73',
    500: '#b2a036',
    950: '#000000',
  },
}
SCSS
$custom: #b2a036;
$custom-light: #ccbb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a036",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 54
  },
  "hsl": {
    "h": 51.29,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.702,
    "c": 0.12494,
    "h": 99.5
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

primary
#B2A036
secondary
#7F89C5
accent
#60DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A036

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

Preview Lab → · Contrast checker → · Palette generator →

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