#B3B31D#B3B31D

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

Color values

HEX#B3B31D
RGBrgb(179, 179, 29)
HSLhsl(60, 72%, 41%)
HSVhsv(60, 84%, 70%)
CMYKcmyk(0%, 0%, 83.8%, 29.8%)
CIE-LABlab(70.81, -16.03, 68.01)
CIE-LCHlch(70.81, 69.88, 103.26°)
OKLaboklab(74.29% -0.0522 0.1461)
OKLCHoklch(74.29% 0.155 109.6)
XYZxyz(34.9337, 41.9137, 7.4121)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B31D #1D1DB3
analogous
#B3681D #B3B31D #68B31D
triadic
#B3B31D #1DB3B3 #B31DB3
tetradic
#B3B31D #1DB368 #1D1DB3 #B31D68
square
#B3B31D #1DB368 #1D1DB3 #B31D68
split-complementary
#B3B31D #1D68B3 #681DB3
monochromatic
#4A4A0C #7E7E14 #B3B31D #DDDD30 #E6E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B31D#FFFFFF#000000##000000
##B3B31D1.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)
#C4AF2D
Tritanopia (blue-blind)
#C0A799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b31d;
/* rgb */ color: rgb(179, 179, 29);
/* oklch */ color: oklch(74.3% 0.155 109.6);
Tailwind
colors: {
  custom: {
    50: '#cec96a',
    500: '#b3b31d',
    950: '#000000',
  },
}
SCSS
$custom: #b3b31d;
$custom-light: #cec96a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b31d",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.74289,
    "c": 0.15514,
    "h": 109.6
  },
  "luminance": 0.41913
}

Semantic roles & 50–950 ramp

primary
#B3B31D
secondary
#6161CB
accent
#39EF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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