#B2A433#B2A433

#B2A433 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.130 H 102.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B2A433
RGBrgb(178, 164, 51)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 70%)
CMYKcmyk(0%, 7.9%, 71.3%, 30.2%)
CIE-LABlab(66.72, -7.85, 57.37)
CIE-LCHlch(66.72, 57.90, 97.79°)
OKLaboklab(71.04% -0.0273 0.1275)
OKLCHoklch(71.04% 0.13 102.1)
XYZxyz(32.2345, 36.2563, 8.4316)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A433 #3341B2
analogous
#B26533 #B2A433 #80B233
triadic
#B2A433 #33B2A4 #A433B2
tetradic
#B2A433 #33B265 #3341B2 #B23380
square
#B2A433 #33B265 #3341B2 #B23380
split-complementary
#B2A433 #3380B2 #6533B2
monochromatic
#534C18 #827825 #B2A433 #CEC154 #DCD284

Accessibility & contrast

On white

2.55
#B2A433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B2A433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A433
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A433#FFFFFF#000000##000000
##B2A4331.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F21
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#C0988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a433;
/* rgb */ color: rgb(178, 164, 51);
/* oklch */ color: oklch(71.0% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbe72',
    500: '#b2a433',
    950: '#000000',
  },
}
SCSS
$custom: #b2a433;
$custom-light: #ccbe72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a433",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 51
  },
  "hsl": {
    "h": 53.386,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71038,
    "c": 0.13037,
    "h": 102.1
  },
  "luminance": 0.36255
}

Semantic roles & 50–950 ramp

primary
#B2A433
secondary
#7C84C5
accent
#5ADF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A433

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

Preview Lab → · Contrast checker → · Palette generator →

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