#B3A22A#B3A22A

#B3A22A is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.134 H 100.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B3A22A
RGBrgb(179, 162, 42)
HSLhsl(53, 62%, 43%)
HSVhsv(53, 77%, 70%)
CMYKcmyk(0%, 9.5%, 76.5%, 29.8%)
CIE-LABlab(66.21, -6.76, 60.20)
CIE-LCHlch(66.21, 60.58, 96.41°)
OKLaboklab(70.64% -0.0252 0.1317)
OKLCHoklch(70.64% 0.134 100.8)
XYZxyz(31.9302, 35.5930, 7.3783)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A22A #2A3BB3
analogous
#B35D2A #B3A22A #7FB32A
triadic
#B3A22A #2AB3A2 #A22AB3
tetradic
#B3A22A #2AB35D #2A3BB3 #B32A7F
square
#B3A22A #2AB35D #2A3BB3 #B32A7F
split-complementary
#B3A22A #2A7FB3 #5D2AB3
monochromatic
#504813 #81751E #B3A22A #D4C246 #DFD378

Accessibility & contrast

On white

2.59
#B3A22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B3A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A22A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A22A#FFFFFF#000000##000000
##B3A22A1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D10
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#C1968B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a22a;
/* rgb */ color: rgb(179, 162, 42);
/* oklch */ color: oklch(70.6% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#cebd6d',
    500: '#b3a22a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a22a;
$custom-light: #cebd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a22a",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 52.555,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70639,
    "c": 0.13412,
    "h": 100.8
  },
  "luminance": 0.35592
}

Semantic roles & 50–950 ramp

primary
#B3A22A
secondary
#727CC7
accent
#57E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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