#B1AD25#B1AD25

#B1AD25 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.8% C 0.147 H 107.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B1AD25
RGBrgb(177, 173, 37)
HSLhsl(58, 65%, 42%)
HSVhsv(58, 79%, 69%)
CMYKcmyk(0%, 2.3%, 79.1%, 30.6%)
CIE-LABlab(69.02, -13.58, 64.28)
CIE-LCHlch(69.02, 65.69, 101.93°)
OKLaboklab(72.83% -0.0447 0.1396)
OKLCHoklch(72.83% 0.147 107.8)
XYZxyz(33.4103, 39.3690, 7.5890)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD25 #2529B1
analogous
#B16725 #B1AD25 #6FB125
triadic
#B1AD25 #25B1AD #AD25B1
tetradic
#B1AD25 #25B167 #2529B1 #B1256F
square
#B1AD25 #25B167 #2529B1 #B1256F
split-complementary
#B1AD25 #256FB1 #6725B1
monochromatic
#4C4A10 #7E7C1A #B1AD25 #D6D23D #E1DE6F

Accessibility & contrast

On white

2.37
#B1AD25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B1AD25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD25
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD25#FFFFFF#000000##000000
##B1AD251.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BEAB31
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ad25;
/* rgb */ color: rgb(177, 173, 37);
/* oklch */ color: oklch(72.8% 0.147 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc56c',
    500: '#b1ad25',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad25;
$custom-light: #ccc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad25",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 37
  },
  "hsl": {
    "h": 58.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.14655,
    "h": 107.8
  },
  "luminance": 0.39368
}

Semantic roles & 50–950 ramp

primary
#B1AD25
secondary
#6A6DC8
accent
#44E83F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD25

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

Preview Lab → · Contrast checker → · Palette generator →

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