#B1AE25#B1AE25

#B1AE25 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.147 H 108.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B1AE25
RGBrgb(177, 174, 37)
HSLhsl(59, 65%, 42%)
HSVhsv(59, 79%, 69%)
CMYKcmyk(0%, 1.7%, 79.1%, 30.6%)
CIE-LABlab(69.29, -14.10, 64.52)
CIE-LCHlch(69.29, 66.04, 102.33°)
OKLaboklab(73.05% -0.0461 0.1401)
OKLCHoklch(73.05% 0.147 108.2)
XYZxyz(33.6028, 39.7539, 7.6531)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE25 #2528B1
analogous
#B16825 #B1AE25 #6EB125
triadic
#B1AE25 #25B1AE #AE25B1
tetradic
#B1AE25 #25B168 #2528B1 #B1256E
square
#B1AE25 #25B168 #2528B1 #B1256E
split-complementary
#B1AE25 #256EB1 #6825B1
monochromatic
#4C4A10 #7E7C1A #B1AE25 #D6D33D #E1DF6F

Accessibility & contrast

On white

2.35
#B1AE25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B1AE25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AE25
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AE25#FFFFFF#000000##000000
##B1AE251.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ae25;
/* rgb */ color: rgb(177, 174, 37);
/* oklch */ color: oklch(73.0% 0.147 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc56c',
    500: '#b1ae25',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae25;
$custom-light: #ccc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae25",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 37
  },
  "hsl": {
    "h": 58.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.14749,
    "h": 108.2
  },
  "luminance": 0.39753
}

Semantic roles & 50–950 ramp

primary
#B1AE25
secondary
#6A6CC8
accent
#43E83F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AE25

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

Preview Lab → · Contrast checker → · Palette generator →

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