#B3A830#B3A830

#B3A830 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.136 H 104.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B3A830
RGBrgb(179, 168, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 70%)
CMYKcmyk(0%, 6.1%, 73.2%, 29.8%)
CIE-LABlab(67.88, -9.66, 59.65)
CIE-LCHlch(67.88, 60.43, 99.20°)
OKLaboklab(71.98% -0.0328 0.1317)
OKLCHoklch(71.98% 0.136 104)
XYZxyz(33.1280, 37.8037, 8.3476)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A830 #303BB3
analogous
#B36730 #B3A830 #7DB330
triadic
#B3A830 #30B3A8 #A830B3
tetradic
#B3A830 #30B367 #303BB3 #B3307D
square
#B3A830 #30B367 #303BB3 #B3307D
split-complementary
#B3A830 #307DB3 #6730B3
monochromatic
#524D16 #837B23 #B3A830 #D0C550 #DDD580

Accessibility & contrast

On white

2.45
#B3A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B3A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A830
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A830#FFFFFF#000000##000000
##B3A8301.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#C19C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a830;
/* rgb */ color: rgb(179, 168, 48);
/* oklch */ color: oklch(72.0% 0.136 104.0);
Tailwind
colors: {
  custom: {
    50: '#cdc171',
    500: '#b3a830',
    950: '#000000',
  },
}
SCSS
$custom: #b3a830;
$custom-light: #cdc171;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a830",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 54.962,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71976,
    "c": 0.13574,
    "h": 104
  },
  "luminance": 0.37802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3A830

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

Preview Lab → · Contrast checker → · Palette generator →

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