#B2A933#B2A933

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

Color values

HEX#B2A933
RGBrgb(178, 169, 51)
HSLhsl(56, 55%, 45%)
HSVhsv(56, 71%, 70%)
CMYKcmyk(0%, 5.1%, 71.3%, 30.2%)
CIE-LABlab(68.08, -10.47, 58.71)
CIE-LCHlch(68.08, 59.63, 100.11°)
OKLaboklab(72.12% -0.0348 0.1303)
OKLCHoklch(72.12% 0.135 104.9)
XYZxyz(33.1470, 38.0812, 8.7357)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A933 #333CB2
analogous
#B26933 #B2A933 #7CB233
triadic
#B2A933 #33B2A9 #A933B2
tetradic
#B2A933 #33B269 #333CB2 #B2337C
square
#B2A933 #33B269 #333CB2 #B2337C
split-complementary
#B2A933 #337CB2 #6933B2
monochromatic
#534F18 #827C25 #B2A933 #CEC554 #DCD584

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A933#FFFFFF#000000##000000
##B2A9331.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)
#B8A31F
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#BF9D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a933;
/* rgb */ color: rgb(178, 169, 51);
/* oklch */ color: oklch(72.1% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#ccc273',
    500: '#b2a933',
    950: '#000000',
  },
}
SCSS
$custom: #b2a933;
$custom-light: #ccc273;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a933",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 55.748,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72124,
    "c": 0.13485,
    "h": 104.9
  },
  "luminance": 0.3808
}

Semantic roles & 50–950 ramp

primary
#B2A933
secondary
#7C81C5
accent
#54DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A933

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

Preview Lab → · Contrast checker → · Palette generator →

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