#B2AE42#B2AE42

#B2AE42 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.129 H 107.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#B2AE42
RGBrgb(178, 174, 66)
HSLhsl(58, 46%, 48%)
HSVhsv(58, 63%, 70%)
CMYKcmyk(0%, 2.2%, 62.9%, 30.2%)
CIE-LABlab(69.56, -12.21, 54.14)
CIE-LCHlch(69.56, 55.50, 102.70°)
OKLaboklab(73.34% -0.038 0.1231)
OKLCHoklch(73.34% 0.129 107.2)
XYZxyz(34.4807, 40.1315, 11.0830)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE42 #4246B2
analogous
#B27642 #B2AE42 #7EB242
triadic
#B2AE42 #42B2AE #AE42B2
tetradic
#B2AE42 #42B276 #4246B2 #B2427E
square
#B2AE42 #42B276 #4246B2 #B2427E
split-complementary
#B2AE42 #427EB2 #7642B2
monochromatic
#595721 #858231 #B2AE42 #C8C46A #D8D696

Accessibility & contrast

On white

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

On black

9.03
#B2AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE42
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE42#FFFFFF#000000##000000
##B2AE421.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#BEAC48
Tritanopia (blue-blind)
#BEA397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae42;
/* rgb */ color: rgb(178, 174, 66);
/* oklch */ color: oklch(73.3% 0.129 107.2);
Tailwind
colors: {
  custom: {
    50: '#ccc57b',
    500: '#b2ae42',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae42;
$custom-light: #ccc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae42",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 57.857,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.12888,
    "h": 107.2
  },
  "luminance": 0.4013
}

Semantic roles & 50–950 ramp

primary
#B2AE42
secondary
#8C8EC4
accent
#57D652
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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