#B2A43A#B2A43A

#B2A43A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.125 H 101.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B2A43A
RGBrgb(178, 164, 58)
HSLhsl(53, 51%, 46%)
HSVhsv(53, 67%, 70%)
CMYKcmyk(0%, 7.9%, 67.4%, 30.2%)
CIE-LABlab(66.77, -7.47, 54.60)
CIE-LCHlch(66.77, 55.11, 97.79°)
OKLaboklab(71.1% -0.0255 0.1229)
OKLCHoklch(71.1% 0.125 101.7)
XYZxyz(32.4006, 36.3227, 9.3065)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A43A #3A48B2
analogous
#B2683A #B2A43A #84B23A
triadic
#B2A43A #3AB2A4 #A43AB2
tetradic
#B2A43A #3AB268 #3A48B2 #B23A84
square
#B2A43A #3AB268 #3A48B2 #B23A84
split-complementary
#B2A43A #3A84B2 #683AB2
monochromatic
#564F1C #84792B #B2A43A #CBBE5F #DAD18D

Accessibility & contrast

On white

2.54
#B2A43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B2A43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A43A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A43A#FFFFFF#000000##000000
##B2A43A1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2C
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#BF998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a43a;
/* rgb */ color: rgb(178, 164, 58);
/* oklch */ color: oklch(71.1% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#ccbe76',
    500: '#b2a43a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a43a;
$custom-light: #ccbe76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a43a",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 58
  },
  "hsl": {
    "h": 53,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71095,
    "c": 0.12547,
    "h": 101.7
  },
  "luminance": 0.36321
}

Semantic roles & 50–950 ramp

primary
#B2A43A
secondary
#838BC4
accent
#5EDA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A43A

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

Preview Lab → · Contrast checker → · Palette generator →

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