#B2AE45#B2AE45

#B2AE45 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.126 H 107.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#B2AE45
RGBrgb(178, 174, 69)
HSLhsl(58, 44%, 48%)
HSVhsv(58, 61%, 70%)
CMYKcmyk(0%, 2.2%, 61.2%, 30.2%)
CIE-LABlab(69.59, -12.00, 52.86)
CIE-LCHlch(69.59, 54.21, 102.79°)
OKLaboklab(73.37% -0.0371 0.1209)
OKLCHoklch(73.37% 0.126 107.1)
XYZxyz(34.5715, 40.1678, 11.5611)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE45 #4549B2
analogous
#B27745 #B2AE45 #7FB245
triadic
#B2AE45 #45B2AE #AE45B2
tetradic
#B2AE45 #45B277 #4549B2 #B2457F
square
#B2AE45 #45B277 #4549B2 #B2457F
split-complementary
#B2AE45 #457FB2 #7745B2
monochromatic
#5A5823 #868334 #B2AE45 #C7C36E #D8D59A

Accessibility & contrast

On white

2.32
#B2AE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AE45#FFFFFF#000000##000000
##B2AE451.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae45;
/* rgb */ color: rgb(178, 174, 69);
/* oklch */ color: oklch(73.4% 0.126 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc57d',
    500: '#b2ae45',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae45;
$custom-light: #ccc57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae45",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 57.798,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.12643,
    "h": 107.1
  },
  "luminance": 0.40167
}

Semantic roles & 50–950 ramp

primary
#B2AE45
secondary
#8F91C4
accent
#59D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AE45

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

Preview Lab → · Contrast checker → · Palette generator →

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