#B2A935#B2A935

#B2A935 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.1% C 0.134 H 104.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B2A935
RGBrgb(178, 169, 53)
HSLhsl(56, 54%, 45%)
HSVhsv(56, 70%, 70%)
CMYKcmyk(0%, 5.1%, 70.2%, 30.2%)
CIE-LABlab(68.09, -10.37, 57.95)
CIE-LCHlch(68.09, 58.88, 100.15°)
OKLaboklab(72.14% -0.0342 0.1291)
OKLCHoklch(72.14% 0.134 104.9)
XYZxyz(33.1920, 38.0992, 8.9730)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A935 #353EB2
analogous
#B26A35 #B2A935 #7CB235
triadic
#B2A935 #35B2A9 #A935B2
tetradic
#B2A935 #35B26A #353EB2 #B2357C
square
#B2A935 #35B26A #353EB2 #B2357C
split-complementary
#B2A935 #357CB2 #6A35B2
monochromatic
#544F19 #837C27 #B2A935 #CDC557 #DBD586

Accessibility & contrast

On white

2.44
#B2A935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B2A935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A935
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A935#FFFFFF#000000##000000
##B2A9351.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A323
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a935;
/* rgb */ color: rgb(178, 169, 53);
/* oklch */ color: oklch(72.1% 0.134 104.9);
Tailwind
colors: {
  custom: {
    50: '#ccc274',
    500: '#b2a935',
    950: '#000000',
  },
}
SCSS
$custom: #b2a935;
$custom-light: #ccc274;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a935",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 55.68,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.13354,
    "h": 104.9
  },
  "luminance": 0.38098
}

Semantic roles & 50–950 ramp

primary
#B2A935
secondary
#7E83C5
accent
#55DD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A935

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

Preview Lab → · Contrast checker → · Palette generator →

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