#B1B31E#B1B31E

#B1B31E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.1% C 0.155 H 110.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B1B31E
RGBrgb(177, 179, 30)
HSLhsl(61, 71%, 41%)
HSVhsv(61, 83%, 70%)
CMYKcmyk(1.1%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.65, -16.87, 67.57)
CIE-LCHlch(70.65, 69.65, 104.02°)
OKLaboklab(74.12% -0.0543 0.1454)
OKLCHoklch(74.12% 0.155 110.5)
XYZxyz(34.4872, 41.6821, 7.4568)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B31E #201EB3
analogous
#B36A1E #B1B31E #66B31E
triadic
#B1B31E #1EB1B3 #B31EB1
tetradic
#B1B31E #1EB36A #201EB3 #B31E66
square
#B1B31E #1EB36A #201EB3 #B31E66
split-complementary
#B1B31E #1E66B3 #6A1EB3
monochromatic
#494A0C #7D7F15 #B1B31E #DADD32 #E4E566

Accessibility & contrast

On white

2.25
#B1B31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B1B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B31E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B31E#FFFFFF#000000##000000
##B1B31E1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AF2D
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b31e;
/* rgb */ color: rgb(177, 179, 30);
/* oklch */ color: oklch(74.1% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#ccc96a',
    500: '#b1b31e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b31e;
$custom-light: #ccc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b31e",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 60.805,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.74122,
    "c": 0.15524,
    "h": 110.5
  },
  "luminance": 0.41681
}

Semantic roles & 50–950 ramp

primary
#B1B31E
secondary
#6462CB
accent
#3AEE3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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