#B1A330#B1A330

#B1A330 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.131 H 102.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B1A330
RGBrgb(177, 163, 48)
HSLhsl(53, 57%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 7.9%, 72.9%, 30.6%)
CIE-LABlab(66.33, -7.91, 58.10)
CIE-LCHlch(66.33, 58.64, 97.75°)
OKLaboklab(70.71% -0.0278 0.1285)
OKLCHoklch(70.71% 0.131 102.2)
XYZxyz(31.7636, 35.7563, 8.0243)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A330 #303EB1
analogous
#B16330 #B1A330 #7FB130
triadic
#B1A330 #30B1A3 #A330B1
tetradic
#B1A330 #30B163 #303EB1 #B1307F
square
#B1A330 #30B163 #303EB1 #B1307F
split-complementary
#B1A330 #307FB1 #6330B1
monochromatic
#514A16 #817723 #B1A330 #CFC14F #DCD27F

Accessibility & contrast

On white

2.58
#B1A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B1A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A330
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A330#FFFFFF#000000##000000
##B1A3301.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1C
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a330;
/* rgb */ color: rgb(177, 163, 48);
/* oklch */ color: oklch(70.7% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#ccbd70',
    500: '#b1a330',
    950: '#000000',
  },
}
SCSS
$custom: #b1a330;
$custom-light: #ccbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a330",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 53.488,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.13147,
    "h": 102.2
  },
  "luminance": 0.35755
}

Semantic roles & 50–950 ramp

primary
#B1A330
secondary
#7880C5
accent
#58E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A330

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

Preview Lab → · Contrast checker → · Palette generator →

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