#B2AE54#B2AE54

#B2AE54 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.113 H 106.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B2AE54
RGBrgb(178, 174, 84)
HSLhsl(57, 38%, 51%)
HSVhsv(57, 53%, 70%)
CMYKcmyk(0%, 2.2%, 52.8%, 30.2%)
CIE-LABlab(69.74, -10.85, 46.09)
CIE-LCHlch(69.74, 47.35, 103.24°)
OKLaboklab(73.54% -0.0322 0.1082)
OKLCHoklch(73.54% 0.113 106.6)
XYZxyz(35.0973, 40.3782, 14.3307)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE54 #5458B2
analogous
#B27F54 #B2AE54 #87B254
triadic
#B2AE54 #54B2AE #AE54B2
tetradic
#B2AE54 #54B27F #5458B2 #B25487
square
#B2AE54 #54B27F #5458B2 #B25487
split-complementary
#B2AE54 #5487B2 #7F54B2
monochromatic
#605E2B #8A873E #B2AE54 #C5C27E #D8D6A8

Accessibility & contrast

On white

2.31
#B2AE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B2AE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE54
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE54#FFFFFF#000000##000000
##B2AE541.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA84B
Deuteranopia (green-blind)
#BDAC59
Tritanopia (blue-blind)
#BDA49A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae54;
/* rgb */ color: rgb(178, 174, 84);
/* oklch */ color: oklch(73.5% 0.113 106.6);
Tailwind
colors: {
  custom: {
    50: '#cbc687',
    500: '#b2ae54',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae54;
$custom-light: #cbc687;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae54",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 84
  },
  "hsl": {
    "h": 57.447,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73536,
    "c": 0.11286,
    "h": 106.6
  },
  "luminance": 0.40377
}

Semantic roles & 50–950 ramp

primary
#B2AE54
secondary
#9C9EC6
accent
#5FCE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AE54

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

Preview Lab → · Contrast checker → · Palette generator →

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