#B2A440#B2A440

#B2A440 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.121 H 101.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B2A440
RGBrgb(178, 164, 64)
HSLhsl(53, 47%, 47%)
HSVhsv(53, 64%, 70%)
CMYKcmyk(0%, 7.9%, 64%, 30.2%)
CIE-LABlab(66.81, -7.10, 52.08)
CIE-LCHlch(66.81, 52.56, 97.76°)
OKLaboklab(71.15% -0.0237 0.1185)
OKLCHoklch(71.15% 0.121 101.3)
XYZxyz(32.5623, 36.3874, 10.1578)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A440 #404EB2
analogous
#B26B40 #B2A440 #87B240
triadic
#B2A440 #40B2A4 #A440B2
tetradic
#B2A440 #40B26B #404EB2 #B24087
square
#B2A440 #40B26B #404EB2 #B24087
split-complementary
#B2A440 #4087B2 #6B40B2
monochromatic
#585120 #857B30 #B2A440 #C8BC67 #D8D094

Accessibility & contrast

On white

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

On black

8.28
#B2A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A440
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A440#FFFFFF#000000##000000
##B2A4401.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#BF998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a440;
/* rgb */ color: rgb(178, 164, 64);
/* oklch */ color: oklch(71.1% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#ccbe79',
    500: '#b2a440',
    950: '#000000',
  },
}
SCSS
$custom: #b2a440;
$custom-light: #ccbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a440",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 52.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71149,
    "c": 0.12083,
    "h": 101.3
  },
  "luminance": 0.36386
}

Semantic roles & 50–950 ramp

primary
#B2A440
secondary
#8A91C4
accent
#61D751
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A440

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

Preview Lab → · Contrast checker → · Palette generator →

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