#B2A925#B2A925

#B2A925 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.143 H 105.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B2A925
RGBrgb(178, 169, 37)
HSLhsl(56, 66%, 42%)
HSVhsv(56, 79%, 70%)
CMYKcmyk(0%, 5.1%, 79.2%, 30.2%)
CIE-LABlab(68.00, -11.07, 63.41)
CIE-LCHlch(68.00, 64.37, 99.91°)
OKLaboklab(72.04% -0.0377 0.1377)
OKLCHoklch(72.04% 0.143 105.3)
XYZxyz(32.8834, 37.9758, 7.3478)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A925 #252EB2
analogous
#B26225 #B2A925 #75B225
triadic
#B2A925 #25B2A9 #A925B2
tetradic
#B2A925 #25B262 #252EB2 #B22575
square
#B2A925 #25B262 #252EB2 #B22575
split-complementary
#B2A925 #2575B2 #6225B2
monochromatic
#4D4910 #7F791A #B2A925 #D7CD3D #E1DA70

Accessibility & contrast

On white

2.44
#B2A925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B2A925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A925
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A925#FFFFFF#000000##000000
##B2A9251.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#BCA830
Tritanopia (blue-blind)
#C09D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a925;
/* rgb */ color: rgb(178, 169, 37);
/* oklch */ color: oklch(72.0% 0.143 105.3);
Tailwind
colors: {
  custom: {
    50: '#cdc26c',
    500: '#b2a925',
    950: '#000000',
  },
}
SCSS
$custom: #b2a925;
$custom-light: #cdc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a925",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 37
  },
  "hsl": {
    "h": 56.17,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72037,
    "c": 0.14274,
    "h": 105.3
  },
  "luminance": 0.37974
}

Semantic roles & 50–950 ramp

primary
#B2A925
secondary
#6B71C8
accent
#4AE93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B2A925

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

Preview Lab → · Contrast checker → · Palette generator →

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