#B1AD30#B1AD30

#B1AD30 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.141 H 107.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B1AD30
RGBrgb(177, 173, 48)
HSLhsl(58, 57%, 44%)
HSVhsv(58, 73%, 69%)
CMYKcmyk(0%, 2.3%, 72.9%, 30.6%)
CIE-LABlab(69.08, -13.13, 60.74)
CIE-LCHlch(69.08, 62.14, 102.20°)
OKLaboklab(72.89% -0.0425 0.1341)
OKLCHoklch(72.89% 0.141 107.6)
XYZxyz(33.6098, 39.4488, 8.6397)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD30 #3034B1
analogous
#B16D30 #B1AD30 #74B130
triadic
#B1AD30 #30B1AD #AD30B1
tetradic
#B1AD30 #30B16D #3034B1 #B13074
square
#B1AD30 #30B16D #3034B1 #B13074
split-complementary
#B1AD30 #3074B1 #6D30B1
monochromatic
#514F16 #817E23 #B1AD30 #CFCB4F #DCD97F

Accessibility & contrast

On white

2.36
#B1AD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B1AD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD30
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD30#FFFFFF#000000##000000
##B1AD301.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ad30;
/* rgb */ color: rgb(177, 173, 48);
/* oklch */ color: oklch(72.9% 0.141 107.6);
Tailwind
colors: {
  custom: {
    50: '#ccc571',
    500: '#b1ad30',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad30;
$custom-light: #ccc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad30",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 48
  },
  "hsl": {
    "h": 58.14,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7289,
    "c": 0.14065,
    "h": 107.6
  },
  "luminance": 0.39448
}

Semantic roles & 50–950 ramp

primary
#B1AD30
secondary
#787AC5
accent
#4CE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD30

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

Preview Lab → · Contrast checker → · Palette generator →

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