#B2A235#B2A235

#B2A235 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.127 H 100.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B2A235
RGBrgb(178, 162, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 9%, 70.2%, 30.2%)
CIE-LABlab(66.19, -6.69, 56.05)
CIE-LCHlch(66.19, 56.45, 96.80°)
OKLaboklab(70.62% -0.0238 0.1251)
OKLCHoklch(70.62% 0.127 100.8)
XYZxyz(31.9245, 35.5641, 8.5504)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A235 #3545B2
analogous
#B26335 #B2A235 #83B235
triadic
#B2A235 #35B2A2 #A235B2
tetradic
#B2A235 #35B263 #3545B2 #B23583
square
#B2A235 #35B263 #3545B2 #B23583
split-complementary
#B2A235 #3583B2 #6335B2
monochromatic
#544C19 #837727 #B2A235 #CDBE57 #DBD086

Accessibility & contrast

On white

2.59
#B2A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B2A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A235
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A235#FFFFFF#000000##000000
##B2A2351.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D25
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#C0968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a235;
/* rgb */ color: rgb(178, 162, 53);
/* oklch */ color: oklch(70.6% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#ccbd73',
    500: '#b2a235',
    950: '#000000',
  },
}
SCSS
$custom: #b2a235;
$custom-light: #ccbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a235",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 52.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70622,
    "c": 0.12731,
    "h": 100.8
  },
  "luminance": 0.35563
}

Semantic roles & 50–950 ramp

primary
#B2A235
secondary
#7E87C5
accent
#5DDD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A235

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

Preview Lab → · Contrast checker → · Palette generator →

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