#B2A425#B2A425

#B2A425 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.138 H 102.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B2A425
RGBrgb(178, 164, 37)
HSLhsl(54, 66%, 42%)
HSVhsv(54, 79%, 70%)
CMYKcmyk(0%, 7.9%, 79.2%, 30.2%)
CIE-LABlab(66.64, -8.46, 62.19)
CIE-LCHlch(66.64, 62.76, 97.74°)
OKLaboklab(70.95% -0.0304 0.135)
OKLCHoklch(70.95% 0.138 102.7)
XYZxyz(31.9710, 36.1509, 7.0437)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A425 #2533B2
analogous
#B25E25 #B2A425 #79B225
triadic
#B2A425 #25B2A4 #A425B2
tetradic
#B2A425 #25B25E #2533B2 #B22579
square
#B2A425 #25B25E #2533B2 #B22579
split-complementary
#B2A425 #2579B2 #5E25B2
monochromatic
#4D4710 #7F751A #B2A425 #D7C83D #E1D670

Accessibility & contrast

On white

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

On black

8.23
#B2A425 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A425
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A425#FFFFFF#000000##000000
##B2A4251.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#C0988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a425;
/* rgb */ color: rgb(178, 164, 37);
/* oklch */ color: oklch(70.9% 0.138 102.7);
Tailwind
colors: {
  custom: {
    50: '#cdbe6b',
    500: '#b2a425',
    950: '#000000',
  },
}
SCSS
$custom: #b2a425;
$custom-light: #cdbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a425",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 37
  },
  "hsl": {
    "h": 54.043,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70949,
    "c": 0.13842,
    "h": 102.7
  },
  "luminance": 0.36149
}

Semantic roles & 50–950 ramp

primary
#B2A425
secondary
#6B74C8
accent
#50E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B2A425

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

Preview Lab → · Contrast checker → · Palette generator →

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