#B1B418#B1B418

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

Color values

HEX#B1B418
RGBrgb(177, 180, 24)
HSLhsl(61, 76%, 40%)
HSVhsv(61, 87%, 71%)
CMYKcmyk(1.7%, 0%, 86.7%, 29.4%)
CIE-LABlab(70.91, -17.54, 69.13)
CIE-LCHlch(70.91, 71.32, 104.23°)
OKLaboklab(74.32% -0.0565 0.1478)
OKLCHoklch(74.32% 0.158 110.9)
XYZxyz(34.6189, 42.0566, 7.1581)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B418 #1B18B4
analogous
#B46918 #B1B418 #63B418
triadic
#B1B418 #18B1B4 #B418B1
tetradic
#B1B418 #18B469 #1B18B4 #B41863
square
#B1B418 #18B469 #1B18B4 #B41863
split-complementary
#B1B418 #1863B4 #6918B4
monochromatic
#47480A #7C7E11 #B1B418 #DFE227 #E7E95D

Accessibility & contrast

On white

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

On black

9.41
#B1B418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B418
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B418#FFFFFF#000000##000000
##B1B4181.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4AF2A
Tritanopia (blue-blind)
#BEA899
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b418;
/* rgb */ color: rgb(177, 180, 24);
/* oklch */ color: oklch(74.3% 0.158 110.9);
Tailwind
colors: {
  custom: {
    50: '#cdca69',
    500: '#b1b418',
    950: '#000000',
  },
}
SCSS
$custom: #b1b418;
$custom-light: #cdca69;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b418",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 61.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.74323,
    "c": 0.15826,
    "h": 110.9
  },
  "luminance": 0.42056
}

Semantic roles & 50–950 ramp

primary
#B1B418
secondary
#5D5BCD
accent
#35F338
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B418

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

Preview Lab → · Contrast checker → · Palette generator →

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