#B1A730#B1A730

#B1A730 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.135 H 104.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B1A730
RGBrgb(177, 167, 48)
HSLhsl(55, 57%, 44%)
HSVhsv(55, 73%, 69%)
CMYKcmyk(0%, 5.6%, 72.9%, 30.6%)
CIE-LABlab(67.43, -10.01, 59.16)
CIE-LCHlch(67.43, 60.00, 99.61°)
OKLaboklab(71.58% -0.0337 0.1307)
OKLCHoklch(71.58% 0.135 104.5)
XYZxyz(32.4851, 37.1992, 8.2648)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A730 #303AB1
analogous
#B16730 #B1A730 #7BB130
triadic
#B1A730 #30B1A7 #A730B1
tetradic
#B1A730 #30B167 #303AB1 #B1307B
square
#B1A730 #30B167 #303AB1 #B1307B
split-complementary
#B1A730 #307BB1 #6730B1
monochromatic
#514C16 #817A23 #B1A730 #CFC54F #DCD57F

Accessibility & contrast

On white

2.49
#B1A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B1A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A730
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A730#FFFFFF#000000##000000
##B1A7301.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#B9A738
Tritanopia (blue-blind)
#BE9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a730;
/* rgb */ color: rgb(177, 167, 48);
/* oklch */ color: oklch(71.6% 0.135 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc071',
    500: '#b1a730',
    950: '#000000',
  },
}
SCSS
$custom: #b1a730;
$custom-light: #ccc071;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a730",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 55.349,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71576,
    "c": 0.13501,
    "h": 104.5
  },
  "luminance": 0.37198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1A730

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

Preview Lab → · Contrast checker → · Palette generator →

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