#B0B41F#B0B41F

#B0B41F is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.156 H 111.3°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B0B41F
RGBrgb(176, 180, 31)
HSLhsl(62, 71%, 41%)
HSVhsv(62, 83%, 71%)
CMYKcmyk(2.2%, 0%, 82.8%, 29.4%)
CIE-LABlab(70.85, -17.78, 67.46)
CIE-LCHlch(70.85, 69.77, 104.77°)
OKLaboklab(74.26% -0.0567 0.1454)
OKLCHoklch(74.26% 0.156 111.3)
XYZxyz(34.4743, 41.9725, 7.5816)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B41F #231FB4
analogous
#B46E1F #B0B41F #66B41F
triadic
#B0B41F #1FB0B4 #B41FB0
tetradic
#B0B41F #1FB46E #231FB4 #B41F66
square
#B0B41F #1FB46E #231FB4 #B41F66
split-complementary
#B0B41F #1F66B4 #6E1FB4
monochromatic
#4A4C0D #7D8016 #B0B41F #D8DC34 #E2E568

Accessibility & contrast

On white

2.24
#B0B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B0B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B41F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B41F#FFFFFF#000000##000000
##B0B41F1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b41f;
/* rgb */ color: rgb(176, 180, 31);
/* oklch */ color: oklch(74.3% 0.156 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccca6b',
    500: '#b0b41f',
    950: '#000000',
  },
}
SCSS
$custom: #b0b41f;
$custom-light: #ccca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b41f",
  "rgb": {
    "r": 176,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 61.611,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.15609,
    "h": 111.3
  },
  "luminance": 0.41972
}

Semantic roles & 50–950 ramp

primary
#B0B41F
secondary
#6764CB
accent
#3AED3F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B0B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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