#B3A930#B3A930

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

Color values

HEX#B3A930
RGBrgb(179, 169, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 70%)
CMYKcmyk(0%, 5.6%, 73.2%, 29.8%)
CIE-LABlab(68.15, -10.18, 59.91)
CIE-LCHlch(68.15, 60.77, 99.64°)
OKLaboklab(72.19% -0.0343 0.1323)
OKLCHoklch(72.19% 0.137 104.5)
XYZxyz(33.3133, 38.1744, 8.4093)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A930 #303AB3
analogous
#B36830 #B3A930 #7CB330
triadic
#B3A930 #30B3A9 #A930B3
tetradic
#B3A930 #30B368 #303AB3 #B3307C
square
#B3A930 #30B368 #303AB3 #B3307C
split-complementary
#B3A930 #307CB3 #6830B3
monochromatic
#524E16 #837B23 #B3A930 #D0C650 #DDD680

Accessibility & contrast

On white

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

On black

8.63
#B3A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A930
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A930#FFFFFF#000000##000000
##B3A9301.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a930;
/* rgb */ color: rgb(179, 169, 48);
/* oklch */ color: oklch(72.2% 0.137 104.5);
Tailwind
colors: {
  custom: {
    50: '#cdc271',
    500: '#b3a930',
    950: '#000000',
  },
}
SCSS
$custom: #b3a930;
$custom-light: #cdc271;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a930",
  "rgb": {
    "r": 179,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 55.42,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72193,
    "c": 0.13664,
    "h": 104.5
  },
  "luminance": 0.38173
}

Semantic roles & 50–950 ramp

primary
#B3A930
secondary
#797FC6
accent
#53E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A930

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

Preview Lab → · Contrast checker → · Palette generator →

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