#B1B027#B1B027

#B1B027 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.148 H 109.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B1B027
RGBrgb(177, 176, 39)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0%, 0.6%, 78%, 30.6%)
CIE-LABlab(69.86, -15.05, 64.43)
CIE-LCHlch(69.86, 66.16, 103.15°)
OKLaboklab(73.5% -0.0486 0.1403)
OKLCHoklch(73.5% 0.148 109.1)
XYZxyz(34.0243, 40.5453, 7.9528)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B027 #2728B1
analogous
#B16B27 #B1B027 #6DB127
triadic
#B1B027 #27B1B0 #B027B1
tetradic
#B1B027 #27B16B #2728B1 #B1276D
square
#B1B027 #27B16B #2728B1 #B1276D
split-complementary
#B1B027 #276DB1 #6B27B1
monochromatic
#4D4C11 #7F7E1C #B1B027 #D5D440 #E0DF72

Accessibility & contrast

On white

2.31
#B1B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#B1B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B027
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B027#FFFFFF#000000##000000
##B1B0271.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C1AD33
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b027;
/* rgb */ color: rgb(177, 176, 39);
/* oklch */ color: oklch(73.5% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#ccc76e',
    500: '#b1b027',
    950: '#000000',
  },
}
SCSS
$custom: #b1b027;
$custom-light: #ccc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b027",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 59.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.73498,
    "c": 0.14845,
    "h": 109.1
  },
  "luminance": 0.40544
}

Semantic roles & 50–950 ramp

primary
#B1B027
secondary
#6D6DC7
accent
#42E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B027

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

Preview Lab → · Contrast checker → · Palette generator →

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