#B2AE37#B2AE37

#B2AE37 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.137 H 107.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B2AE37
RGBrgb(178, 174, 55)
HSLhsl(58, 53%, 46%)
HSVhsv(58, 69%, 70%)
CMYKcmyk(0%, 2.2%, 69.1%, 30.2%)
CIE-LABlab(69.48, -12.86, 58.56)
CIE-LCHlch(69.48, 59.96, 102.39°)
OKLaboklab(73.25% -0.0411 0.1307)
OKLCHoklch(73.25% 0.137 107.4)
XYZxyz(34.1870, 40.0140, 9.5363)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE37 #373BB2
analogous
#B27037 #B2AE37 #78B237
triadic
#B2AE37 #37B2AE #AE37B2
tetradic
#B2AE37 #37B270 #373BB2 #B23778
square
#B2AE37 #37B270 #373BB2 #B23778
split-complementary
#B2AE37 #3778B2 #7037B2
monochromatic
#54531A #838029 #B2AE37 #CCC85A #DBD889

Accessibility & contrast

On white

2.33
#B2AE37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B2AE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE37
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE37#FFFFFF#000000##000000
##B2AE371.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#BFA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae37;
/* rgb */ color: rgb(178, 174, 55);
/* oklch */ color: oklch(73.2% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc575',
    500: '#b2ae37',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae37;
$custom-light: #ccc575;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae37",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 58.049,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.137,
    "h": 107.4
  },
  "luminance": 0.40013
}

Semantic roles & 50–950 ramp

primary
#B2AE37
secondary
#8082C5
accent
#50DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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