#B1AE24#B1AE24

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

Color values

HEX#B1AE24
RGBrgb(177, 174, 36)
HSLhsl(59, 66%, 42%)
HSVhsv(59, 80%, 69%)
CMYKcmyk(0%, 1.7%, 79.7%, 30.6%)
CIE-LABlab(69.29, -14.13, 64.81)
CIE-LCHlch(69.29, 66.33, 102.30°)
OKLaboklab(73.04% -0.0463 0.1405)
OKLCHoklch(73.04% 0.148 108.2)
XYZxyz(33.5873, 39.7477, 7.5716)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE24 #2427B1
analogous
#B16724 #B1AE24 #6EB124
triadic
#B1AE24 #24B1AE #AE24B1
tetradic
#B1AE24 #24B167 #2427B1 #B1246E
square
#B1AE24 #24B167 #2427B1 #B1246E
split-complementary
#B1AE24 #246EB1 #6724B1
monochromatic
#4B4A0F #7E7C1A #B1AE24 #D7D43B #E1DF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AE24#FFFFFF#000000##000000
##B1AE241.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)
#BFAB30
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ae24;
/* rgb */ color: rgb(177, 174, 36);
/* oklch */ color: oklch(73.0% 0.148 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc56c',
    500: '#b1ae24',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae24;
$custom-light: #ccc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae24",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 36
  },
  "hsl": {
    "h": 58.723,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.14795,
    "h": 108.2
  },
  "luminance": 0.39747
}

Semantic roles & 50–950 ramp

primary
#B1AE24
secondary
#696BC8
accent
#42E93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AE24

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

Preview Lab → · Contrast checker → · Palette generator →

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