#B1B427#B1B427

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

Color values

HEX#B1B427
RGBrgb(177, 180, 39)
HSLhsl(61, 64%, 43%)
HSVhsv(61, 78%, 71%)
CMYKcmyk(1.7%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.97, -17.08, 65.42)
CIE-LCHlch(70.97, 67.61, 104.64°)
OKLaboklab(74.39% -0.0543 0.1424)
OKLCHoklch(74.39% 0.152 110.9)
XYZxyz(34.8202, 42.1371, 8.2181)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B427 #2A27B4
analogous
#B47127 #B1B427 #6AB427
triadic
#B1B427 #27B1B4 #B427B1
tetradic
#B1B427 #27B471 #2A27B4 #B4276A
square
#B1B427 #27B471 #2A27B4 #B4276A
split-complementary
#B1B427 #276AB4 #7127B4
monochromatic
#4E4F11 #80821C #B1B427 #D3D642 #DFE174

Accessibility & contrast

On white

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

On black

9.43
#B1B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B427
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B427#FFFFFF#000000##000000
##B1B4271.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b427;
/* rgb */ color: rgb(177, 180, 39);
/* oklch */ color: oklch(74.4% 0.152 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccca6e',
    500: '#b1b427',
    950: '#000000',
  },
}
SCSS
$custom: #b1b427;
$custom-light: #ccca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b427",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 61.277,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74385,
    "c": 0.15239,
    "h": 110.9
  },
  "luminance": 0.42136
}

Semantic roles & 50–950 ramp

primary
#B1B427
secondary
#706FC8
accent
#40E744
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B427

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

Preview Lab → · Contrast checker → · Palette generator →

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