#B3A931#B3A931

#B3A931 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.136 H 104.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B3A931
RGBrgb(179, 169, 49)
HSLhsl(55, 57%, 45%)
HSVhsv(55, 73%, 70%)
CMYKcmyk(0%, 5.6%, 72.6%, 29.8%)
CIE-LABlab(68.16, -10.13, 59.55)
CIE-LCHlch(68.16, 60.41, 99.66°)
OKLaboklab(72.2% -0.034 0.1317)
OKLCHoklch(72.2% 0.136 104.5)
XYZxyz(33.3342, 38.1827, 8.5193)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A931 #313BB3
analogous
#B36831 #B3A931 #7CB331
triadic
#B3A931 #31B3A9 #A931B3
tetradic
#B3A931 #31B368 #313BB3 #B3317C
square
#B3A931 #31B368 #313BB3 #B3317C
split-complementary
#B3A931 #317CB3 #6831B3
monochromatic
#534E17 #837C24 #B3A931 #D0C652 #DDD682

Accessibility & contrast

On white

2.43
#B3A931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B3A931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A931
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A931#FFFFFF#000000##000000
##B3A9311.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#C09D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b3a931;
/* rgb */ color: rgb(179, 169, 49);
/* oklch */ color: oklch(72.2% 0.136 104.5);
Tailwind
colors: {
  custom: {
    50: '#cdc272',
    500: '#b3a931',
    950: '#000000',
  },
}
SCSS
$custom: #b3a931;
$custom-light: #cdc272;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a931",
  "rgb": {
    "r": 179,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 55.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.722,
    "c": 0.13602,
    "h": 104.5
  },
  "luminance": 0.38181
}

Semantic roles & 50–950 ramp

primary
#B3A931
secondary
#7A80C6
accent
#53E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A931

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

Preview Lab → · Contrast checker → · Palette generator →

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