#B1A630#B1A630

#B1A630 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.134 H 103.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B1A630
RGBrgb(177, 166, 48)
HSLhsl(55, 57%, 44%)
HSVhsv(55, 73%, 69%)
CMYKcmyk(0%, 6.2%, 72.9%, 30.6%)
CIE-LABlab(67.15, -9.49, 58.89)
CIE-LCHlch(67.15, 59.65, 99.15°)
OKLaboklab(71.36% -0.0322 0.1302)
OKLCHoklch(71.36% 0.134 103.9)
XYZxyz(32.3026, 36.8343, 8.2039)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A630 #303BB1
analogous
#B16630 #B1A630 #7CB130
triadic
#B1A630 #30B1A6 #A630B1
tetradic
#B1A630 #30B166 #303BB1 #B1307C
square
#B1A630 #30B166 #303BB1 #B1307C
split-complementary
#B1A630 #307CB1 #6630B1
monochromatic
#514C16 #817923 #B1A630 #CFC44F #DCD47F

Accessibility & contrast

On white

2.51
#B1A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B1A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A630
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A630#FFFFFF#000000##000000
##B1A6301.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#BE9A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a630;
/* rgb */ color: rgb(177, 166, 48);
/* oklch */ color: oklch(71.4% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#ccc071',
    500: '#b1a630',
    950: '#000000',
  },
}
SCSS
$custom: #b1a630;
$custom-light: #ccc071;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a630",
  "rgb": {
    "r": 177,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 54.884,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.13411,
    "h": 103.9
  },
  "luminance": 0.36833
}

Semantic roles & 50–950 ramp

primary
#B1A630
secondary
#787EC5
accent
#54E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A630

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

Preview Lab → · Contrast checker → · Palette generator →

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