#B3B31C#B3B31C

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

Color values

HEX#B3B31C
RGBrgb(179, 179, 28)
HSLhsl(60, 73%, 41%)
HSVhsv(60, 84%, 70%)
CMYKcmyk(0%, 0%, 84.4%, 29.8%)
CIE-LABlab(70.81, -16.06, 68.24)
CIE-LCHlch(70.81, 70.11, 103.24°)
OKLaboklab(74.29% -0.0523 0.1465)
OKLCHoklch(74.29% 0.156 109.7)
XYZxyz(34.9215, 41.9088, 7.3481)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B31C #1C1CB3
analogous
#B3671C #B3B31C #67B31C
triadic
#B3B31C #1CB3B3 #B31CB3
tetradic
#B3B31C #1CB367 #1C1CB3 #B31C67
square
#B3B31C #1CB367 #1C1CB3 #B31C67
split-complementary
#B3B31C #1C67B3 #671CB3
monochromatic
#49490B #7E7E14 #B3B31C #DEDE2E #E7E763

Accessibility & contrast

On white

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

On black

9.38
#B3B31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B31C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B31C#FFFFFF#000000##000000
##B3B31C1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3b31c;
/* rgb */ color: rgb(179, 179, 28);
/* oklch */ color: oklch(74.3% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#cec96a',
    500: '#b3b31c',
    950: '#000000',
  },
}
SCSS
$custom: #b3b31c;
$custom-light: #cec96a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b31c",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.74285,
    "c": 0.15551,
    "h": 109.7
  },
  "luminance": 0.41908
}

Semantic roles & 50–950 ramp

primary
#B3B31C
secondary
#5F5FCB
accent
#38F038
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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