#B3A31E#B3A31E

#B3A31E is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.141 H 101.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B3A31E
RGBrgb(179, 163, 30)
HSLhsl(54, 71%, 41%)
HSVhsv(54, 83%, 70%)
CMYKcmyk(0%, 8.9%, 83.2%, 29.8%)
CIE-LABlab(66.42, -7.71, 64.06)
CIE-LCHlch(66.42, 64.52, 96.87°)
OKLaboklab(70.79% -0.0289 0.1377)
OKLCHoklch(70.79% 0.141 101.9)
XYZxyz(31.9235, 35.8733, 6.4708)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A31E #1E2EB3
analogous
#B3581E #B3A31E #78B31E
triadic
#B3A31E #1EB3A3 #A31EB3
tetradic
#B3A31E #1EB358 #1E2EB3 #B31E78
square
#B3A31E #1EB358 #1E2EB3 #B31E78
split-complementary
#B3A31E #1E78B3 #581EB3
monochromatic
#4A440C #7F7315 #B3A31E #DDCA32 #E5D866

Accessibility & contrast

On white

2.57
#B3A31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B3A31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A31E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A31E#FFFFFF#000000##000000
##B3A31E1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B8A42A
Tritanopia (blue-blind)
#C1978B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a31e;
/* rgb */ color: rgb(179, 163, 30);
/* oklch */ color: oklch(70.8% 0.141 101.9);
Tailwind
colors: {
  custom: {
    50: '#cebd68',
    500: '#b3a31e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a31e;
$custom-light: #cebd68;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a31e",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 30
  },
  "hsl": {
    "h": 53.557,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.14069,
    "h": 101.9
  },
  "luminance": 0.35872
}

Semantic roles & 50–950 ramp

primary
#B3A31E
secondary
#626DCB
accent
#4DEE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A31E

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

Preview Lab → · Contrast checker → · Palette generator →

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