#B3A02B#B3A02B

#B3A02B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.132 H 99.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B3A02B
RGBrgb(179, 160, 43)
HSLhsl(52, 61%, 44%)
HSVhsv(52, 76%, 70%)
CMYKcmyk(0%, 10.6%, 76%, 29.8%)
CIE-LABlab(65.67, -5.66, 59.35)
CIE-LCHlch(65.67, 59.62, 95.45°)
OKLaboklab(70.22% -0.022 0.1301)
OKLCHoklch(70.22% 0.132 99.6)
XYZxyz(31.5988, 34.9013, 7.3572)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A02B #2B3EB3
analogous
#B35C2B #B3A02B #82B32B
triadic
#B3A02B #2BB3A0 #A02BB3
tetradic
#B3A02B #2BB35C #2B3EB3 #B32B82
square
#B3A02B #2BB35C #2B3EB3 #B32B82
split-complementary
#B3A02B #2B82B3 #5C2BB3
monochromatic
#504813 #82741F #B3A02B #D3C048 #DFD179

Accessibility & contrast

On white

2.63
#B3A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B3A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A02B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A02B#FFFFFF#000000##000000
##B3A02B1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C13
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b3a02b;
/* rgb */ color: rgb(179, 160, 43);
/* oklch */ color: oklch(70.2% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#cebb6e',
    500: '#b3a02b',
    950: '#000000',
  },
}
SCSS
$custom: #b3a02b;
$custom-light: #cebb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a02b",
  "rgb": {
    "r": 179,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 51.618,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70216,
    "c": 0.13197,
    "h": 99.6
  },
  "luminance": 0.349
}

Semantic roles & 50–950 ramp

primary
#B3A02B
secondary
#737FC7
accent
#5AE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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