#B0B418#B0B418

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

Color values

HEX#B0B418
RGBrgb(176, 180, 24)
HSLhsl(62, 76%, 40%)
HSVhsv(62, 87%, 71%)
CMYKcmyk(2.2%, 0%, 86.7%, 29.4%)
CIE-LABlab(70.83, -17.97, 69.03)
CIE-LCHlch(70.83, 71.33, 104.59°)
OKLaboklab(74.24% -0.0577 0.1477)
OKLCHoklch(74.24% 0.159 111.3)
XYZxyz(34.3919, 41.9395, 7.1475)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B418 #1C18B4
analogous
#B46A18 #B0B418 #62B418
triadic
#B0B418 #18B0B4 #B418B0
tetradic
#B0B418 #18B46A #1C18B4 #B41862
square
#B0B418 #18B46A #1C18B4 #B41862
split-complementary
#B0B418 #1862B4 #6A18B4
monochromatic
#46480A #7B7E11 #B0B418 #DDE227 #E6E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B418#FFFFFF#000000##000000
##B0B4181.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)
#C3AB00
Deuteranopia (green-blind)
#C4AF2A
Tritanopia (blue-blind)
#BDA899
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b418;
/* rgb */ color: rgb(176, 180, 24);
/* oklch */ color: oklch(74.2% 0.159 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccca69',
    500: '#b0b418',
    950: '#000000',
  },
}
SCSS
$custom: #b0b418;
$custom-light: #ccca69;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b418",
  "rgb": {
    "r": 176,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 61.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.74239,
    "c": 0.15853,
    "h": 111.3
  },
  "luminance": 0.41939
}

Semantic roles & 50–950 ramp

primary
#B0B418
secondary
#5E5BCD
accent
#35F33A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B0B418

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

Preview Lab → · Contrast checker → · Palette generator →

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