#B1B41D#B1B41D

#B1B41D is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.157 H 110.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B1B41D
RGBrgb(177, 180, 29)
HSLhsl(61, 72%, 41%)
HSVhsv(61, 84%, 71%)
CMYKcmyk(1.7%, 0%, 83.9%, 29.4%)
CIE-LABlab(70.93, -17.41, 68.04)
CIE-LCHlch(70.93, 70.23, 104.35°)
OKLaboklab(74.34% -0.0559 0.1463)
OKLCHoklch(74.34% 0.157 110.9)
XYZxyz(34.6758, 42.0793, 7.4577)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B41D #201DB4
analogous
#B46B1D #B1B41D #65B41D
triadic
#B1B41D #1DB1B4 #B41DB1
tetradic
#B1B41D #1DB46B #201DB4 #B41D65
square
#B1B41D #1DB46B #201DB4 #B41D65
split-complementary
#B1B41D #1D65B4 #6B1DB4
monochromatic
#494B0C #7D7F15 #B1B41D #DADE30 #E4E665

Accessibility & contrast

On white

2.23
#B1B41D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B1B41D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B41D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B41D#FFFFFF#000000##000000
##B1B41D1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4AF2D
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b41d;
/* rgb */ color: rgb(177, 180, 29);
/* oklch */ color: oklch(74.3% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccca6a',
    500: '#b1b41d',
    950: '#000000',
  },
}
SCSS
$custom: #b1b41d;
$custom-light: #ccca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b41d",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 29
  },
  "hsl": {
    "h": 61.192,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7434,
    "c": 0.15658,
    "h": 110.9
  },
  "luminance": 0.42078
}

Semantic roles & 50–950 ramp

primary
#B1B41D
secondary
#6461CB
accent
#39EF3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B41D

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

Preview Lab → · Contrast checker → · Palette generator →

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