#B2B314#B2B314

#B2B314 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.158 H 110.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B2B314
RGBrgb(178, 179, 20)
HSLhsl(60, 80%, 39%)
HSVhsv(60, 89%, 70%)
CMYKcmyk(0.6%, 0%, 88.8%, 29.8%)
CIE-LABlab(70.70, -16.68, 69.76)
CIE-LCHlch(70.70, 71.72, 103.45°)
OKLaboklab(74.17% -0.0544 0.1486)
OKLCHoklch(74.17% 0.158 110.1)
XYZxyz(34.6079, 41.7568, 6.8985)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B314 #1514B3
analogous
#B36514 #B2B314 #63B314
triadic
#B2B314 #14B2B3 #B314B2
tetradic
#B2B314 #14B365 #1514B3 #B31463
square
#B2B314 #14B365 #1514B3 #B31463
split-complementary
#B2B314 #1463B3 #6514B3
monochromatic
#454508 #7B7C0E #B2B314 #E5E61E #EBEC55

Accessibility & contrast

On white

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

On black

9.35
#B2B314 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B314
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B314#FFFFFF#000000##000000
##B2B3141.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b314;
/* rgb */ color: rgb(178, 179, 20);
/* oklch */ color: oklch(74.2% 0.158 110.1);
Tailwind
colors: {
  custom: {
    50: '#cdc967',
    500: '#b2b314',
    950: '#000000',
  },
}
SCSS
$custom: #b2b314;
$custom-light: #cdc967;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b314",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 20
  },
  "hsl": {
    "h": 60.377,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.74174,
    "c": 0.15821,
    "h": 110.1
  },
  "luminance": 0.41756
}

Semantic roles & 50–950 ramp

primary
#B2B314
secondary
#5554CF
accent
#31F633
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B314

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

Preview Lab → · Contrast checker → · Palette generator →

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