#B1AE2A#B1AE2A

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

Color values

HEX#B1AE2A
RGBrgb(177, 174, 42)
HSLhsl(59, 62%, 43%)
HSVhsv(59, 76%, 69%)
CMYKcmyk(0%, 1.7%, 76.3%, 30.6%)
CIE-LABlab(69.32, -13.91, 63.00)
CIE-LCHlch(69.32, 64.52, 102.45°)
OKLaboklab(73.07% -0.0452 0.1378)
OKLCHoklch(73.07% 0.145 108.2)
XYZxyz(33.6868, 39.7875, 8.0953)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE2A #2A2DB1
analogous
#B16B2A #B1AE2A #70B12A
triadic
#B1AE2A #2AB1AE #AE2AB1
tetradic
#B1AE2A #2AB16B #2A2DB1 #B12A70
square
#B1AE2A #2AB16B #2A2DB1 #B12A70
split-complementary
#B1AE2A #2A70B1 #6B2AB1
monochromatic
#4E4D13 #807D1E #B1AE2A #D3D045 #DFDC77

Accessibility & contrast

On white

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

On black

8.96
#B1AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AE2A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AE2A#FFFFFF#000000##000000
##B1AE2A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ae2a;
/* rgb */ color: rgb(177, 174, 42);
/* oklch */ color: oklch(73.1% 0.145 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc56f',
    500: '#b1ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae2a;
$custom-light: #ccc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae2a",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 58.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73073,
    "c": 0.145,
    "h": 108.2
  },
  "luminance": 0.39786
}

Semantic roles & 50–950 ramp

primary
#B1AE2A
secondary
#7072C6
accent
#47E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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