#B2A335#B2A335

#B2A335 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.128 H 101.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B2A335
RGBrgb(178, 163, 53)
HSLhsl(53, 54%, 45%)
HSVhsv(53, 70%, 70%)
CMYKcmyk(0%, 8.4%, 70.2%, 30.2%)
CIE-LABlab(66.46, -7.22, 56.33)
CIE-LCHlch(66.46, 56.79, 97.30°)
OKLaboklab(70.84% -0.0253 0.1256)
OKLCHoklch(70.84% 0.128 101.4)
XYZxyz(32.1013, 35.9178, 8.6094)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A335 #3544B2
analogous
#B26435 #B2A335 #82B235
triadic
#B2A335 #35B2A3 #A335B2
tetradic
#B2A335 #35B264 #3544B2 #B23582
square
#B2A335 #35B264 #3544B2 #B23582
split-complementary
#B2A335 #3582B2 #6435B2
monochromatic
#544D19 #837827 #B2A335 #CDBF57 #DBD186

Accessibility & contrast

On white

2.57
#B2A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B2A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A335
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A335#FFFFFF#000000##000000
##B2A3351.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E25
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#C0978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a335;
/* rgb */ color: rgb(178, 163, 53);
/* oklch */ color: oklch(70.8% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#ccbd73',
    500: '#b2a335',
    950: '#000000',
  },
}
SCSS
$custom: #b2a335;
$custom-light: #ccbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a335",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 52.8,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.12816,
    "h": 101.4
  },
  "luminance": 0.35916
}

Semantic roles & 50–950 ramp

primary
#B2A335
secondary
#7E86C5
accent
#5CDD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A335

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

Preview Lab → · Contrast checker → · Palette generator →

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