#B2A82D#B2A82D

#B2A82D is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.138 H 104.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B2A82D
RGBrgb(178, 168, 45)
HSLhsl(55, 60%, 44%)
HSVhsv(55, 75%, 70%)
CMYKcmyk(0%, 5.6%, 74.7%, 30.2%)
CIE-LABlab(67.77, -10.23, 60.59)
CIE-LCHlch(67.77, 61.45, 99.59°)
OKLaboklab(71.86% -0.0347 0.1332)
OKLCHoklch(71.86% 0.138 104.6)
XYZxyz(32.8378, 37.6610, 8.0217)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A82D #2D37B2
analogous
#B2652D #B2A82D #79B22D
triadic
#B2A82D #2DB2A8 #A82DB2
tetradic
#B2A82D #2DB265 #2D37B2 #B22D79
square
#B2A82D #2DB265 #2D37B2 #B22D79
split-complementary
#B2A82D #2D79B2 #652DB2
monochromatic
#504C14 #817A21 #B2A82D #D1C74B #DED67C

Accessibility & contrast

On white

2.46
#B2A82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B2A82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A82D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A82D#FFFFFF#000000##000000
##B2A82D1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A214
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#C09C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a82d;
/* rgb */ color: rgb(178, 168, 45);
/* oklch */ color: oklch(71.9% 0.138 104.6);
Tailwind
colors: {
  custom: {
    50: '#cdc16f',
    500: '#b2a82d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a82d;
$custom-light: #cdc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a82d",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 55.489,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71865,
    "c": 0.13762,
    "h": 104.6
  },
  "luminance": 0.3766
}

Semantic roles & 50–950 ramp

primary
#B2A82D
secondary
#757BC6
accent
#51E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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