#B2A82F#B2A82F

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

Color values

HEX#B2A82F
RGBrgb(178, 168, 47)
HSLhsl(55, 58%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 5.6%, 73.6%, 30.2%)
CIE-LABlab(67.78, -10.14, 59.89)
CIE-LCHlch(67.78, 60.74, 99.61°)
OKLaboklab(71.88% -0.0342 0.1321)
OKLCHoklch(71.88% 0.136 104.5)
XYZxyz(32.8772, 37.6768, 8.2293)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A82F #2F39B2
analogous
#B2672F #B2A82F #7BB22F
triadic
#B2A82F #2FB2A8 #A82FB2
tetradic
#B2A82F #2FB267 #2F39B2 #B22F7B
square
#B2A82F #2FB267 #2F39B2 #B22F7B
split-complementary
#B2A82F #2F7BB2 #672FB2
monochromatic
#514D15 #827A22 #B2A82F #D0C64E #DDD67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A82F#FFFFFF#000000##000000
##B2A82F1.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)
#B7A218
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a82f;
/* rgb */ color: rgb(178, 168, 47);
/* oklch */ color: oklch(71.9% 0.136 104.5);
Tailwind
colors: {
  custom: {
    50: '#cdc170',
    500: '#b2a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a82f;
$custom-light: #cdc170;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a82f",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 55.42,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.13643,
    "h": 104.5
  },
  "luminance": 0.37675
}

Semantic roles & 50–950 ramp

primary
#B2A82F
secondary
#777DC6
accent
#52E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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