#B2AE27#B2AE27

#B2AE27 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.146 H 107.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AE27
RGBrgb(178, 174, 39)
HSLhsl(58, 64%, 43%)
HSVhsv(58, 78%, 70%)
CMYKcmyk(0%, 2.2%, 78.1%, 30.2%)
CIE-LABlab(69.39, -13.59, 64.04)
CIE-LCHlch(69.39, 65.46, 101.98°)
OKLaboklab(73.14% -0.0446 0.1394)
OKLCHoklch(73.14% 0.146 107.7)
XYZxyz(33.8637, 39.8847, 7.8338)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE27 #272BB2
analogous
#B26827 #B2AE27 #71B227
triadic
#B2AE27 #27B2AE #AE27B2
tetradic
#B2AE27 #27B268 #272BB2 #B22771
square
#B2AE27 #27B268 #272BB2 #B22771
split-complementary
#B2AE27 #2771B2 #6827B2
monochromatic
#4E4C11 #807D1C #B2AE27 #D5D141 #E0DD73

Accessibility & contrast

On white

2.34
#B2AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE27
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE27#FFFFFF#000000##000000
##B2AE271.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ae27;
/* rgb */ color: rgb(178, 174, 39);
/* oklch */ color: oklch(73.1% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#cdc56d',
    500: '#b2ae27',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae27;
$custom-light: #cdc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae27",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 58.273,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73144,
    "c": 0.14635,
    "h": 107.7
  },
  "luminance": 0.39884
}

Semantic roles & 50–950 ramp

primary
#B2AE27
secondary
#6D70C8
accent
#46E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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