#B3B31E#B3B31E

#B3B31E 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#B3B31E
RGBrgb(179, 179, 30)
HSLhsl(60, 71%, 41%)
HSVhsv(60, 83%, 70%)
CMYKcmyk(0%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.81, -16.00, 67.78)
CIE-LCHlch(70.81, 69.64, 103.29°)
OKLaboklab(74.29% -0.052 0.1458)
OKLCHoklch(74.29% 0.155 109.6)
XYZxyz(34.9462, 41.9187, 7.4783)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B31E #1E1EB3
analogous
#B3681E #B3B31E #68B31E
triadic
#B3B31E #1EB3B3 #B31EB3
tetradic
#B3B31E #1EB368 #1E1EB3 #B31E68
square
#B3B31E #1EB368 #1E1EB3 #B31E68
split-complementary
#B3B31E #1E68B3 #681EB3
monochromatic
#4A4A0C #7F7F15 #B3B31E #DDDD32 #E5E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B31E#FFFFFF#000000##000000
##B3B31E1.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: #b3b31e;
/* rgb */ color: rgb(179, 179, 30);
/* oklch */ color: oklch(74.3% 0.155 109.6);
Tailwind
colors: {
  custom: {
    50: '#cec96a',
    500: '#b3b31e',
    950: '#000000',
  },
}
SCSS
$custom: #b3b31e;
$custom-light: #cec96a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b31e",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.15478,
    "h": 109.6
  },
  "luminance": 0.41918
}

Semantic roles & 50–950 ramp

primary
#B3B31E
secondary
#6262CB
accent
#3AEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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