#B1B127#B1B127

#B1B127 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.149 H 109.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B1B127
RGBrgb(177, 177, 39)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0%, 0%, 78%, 30.6%)
CIE-LABlab(70.13, -15.56, 64.67)
CIE-LCHlch(70.13, 66.52, 103.53°)
OKLaboklab(73.72% -0.05 0.1408)
OKLCHoklch(73.72% 0.149 109.6)
XYZxyz(34.2211, 40.9389, 8.0184)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B127 #2727B1
analogous
#B16C27 #B1B127 #6CB127
triadic
#B1B127 #27B1B1 #B127B1
tetradic
#B1B127 #27B16C #2727B1 #B1276C
square
#B1B127 #27B16C #2727B1 #B1276C
split-complementary
#B1B127 #276CB1 #6C27B1
monochromatic
#4D4D11 #7F7F1C #B1B127 #D5D540 #E0E072

Accessibility & contrast

On white

2.29
#B1B127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B1B127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B127
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B127#FFFFFF#000000##000000
##B1B1271.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b127;
/* rgb */ color: rgb(177, 177, 39);
/* oklch */ color: oklch(73.7% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#ccc86e',
    500: '#b1b127',
    950: '#000000',
  },
}
SCSS
$custom: #b1b127;
$custom-light: #ccc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b127",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.73719,
    "c": 0.14942,
    "h": 109.6
  },
  "luminance": 0.40938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1B127

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

Preview Lab → · Contrast checker → · Palette generator →

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