#B1A030#B1A030

#B1A030 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.129 H 100.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B1A030
RGBrgb(177, 160, 48)
HSLhsl(52, 57%, 44%)
HSVhsv(52, 73%, 69%)
CMYKcmyk(0%, 9.6%, 72.9%, 30.6%)
CIE-LABlab(65.52, -6.32, 57.31)
CIE-LCHlch(65.52, 57.66, 96.29°)
OKLaboklab(70.06% -0.0233 0.1268)
OKLCHoklch(70.06% 0.129 100.4)
XYZxyz(31.2372, 34.7036, 7.8488)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A030 #3041B1
analogous
#B16030 #B1A030 #82B130
triadic
#B1A030 #30B1A0 #A030B1
tetradic
#B1A030 #30B160 #3041B1 #B13082
square
#B1A030 #30B160 #3041B1 #B13082
split-complementary
#B1A030 #3082B1 #6030B1
monochromatic
#514916 #817423 #B1A030 #CFBE4F #DCD07F

Accessibility & contrast

On white

2.64
#B1A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B1A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A030
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A030#FFFFFF#000000##000000
##B1A0301.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a030;
/* rgb */ color: rgb(177, 160, 48);
/* oklch */ color: oklch(70.1% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#ccbb70',
    500: '#b1a030',
    950: '#000000',
  },
}
SCSS
$custom: #b1a030;
$custom-light: #ccbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a030",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 52.093,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70059,
    "c": 0.12895,
    "h": 100.4
  },
  "luminance": 0.34702
}

Semantic roles & 50–950 ramp

primary
#B1A030
secondary
#7882C5
accent
#5BE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A030

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

Preview Lab → · Contrast checker → · Palette generator →

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