#B2A035#B2A035

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

Color values

HEX#B2A035
RGBrgb(178, 160, 53)
HSLhsl(51, 54%, 45%)
HSVhsv(51, 70%, 70%)
CMYKcmyk(0%, 10.1%, 70.2%, 30.2%)
CIE-LABlab(65.64, -5.62, 55.51)
CIE-LCHlch(65.64, 55.79, 95.78°)
OKLaboklab(70.19% -0.0208 0.1239)
OKLCHoklch(70.19% 0.126 99.5)
XYZxyz(31.5750, 34.8651, 8.4339)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A035 #3547B2
analogous
#B26135 #B2A035 #85B235
triadic
#B2A035 #35B2A0 #A035B2
tetradic
#B2A035 #35B261 #3547B2 #B23585
square
#B2A035 #35B261 #3547B2 #B23585
split-complementary
#B2A035 #3585B2 #6135B2
monochromatic
#544B19 #837627 #B2A035 #CDBC57 #DBCF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A035#FFFFFF#000000##000000
##B2A0351.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)
#AF9C25
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#C0948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b2a035;
/* rgb */ color: rgb(178, 160, 53);
/* oklch */ color: oklch(70.2% 0.126 99.5);
Tailwind
colors: {
  custom: {
    50: '#ccbb73',
    500: '#b2a035',
    950: '#000000',
  },
}
SCSS
$custom: #b2a035;
$custom-light: #ccbb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a035",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 53
  },
  "hsl": {
    "h": 51.36,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.12565,
    "h": 99.5
  },
  "luminance": 0.34864
}

Semantic roles & 50–950 ramp

primary
#B2A035
secondary
#7E88C5
accent
#60DD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A035

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

Preview Lab → · Contrast checker → · Palette generator →

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