#B3A22E#B3A22E

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

Color values

HEX#B3A22E
RGBrgb(179, 162, 46)
HSLhsl(52, 59%, 44%)
HSVhsv(52, 74%, 70%)
CMYKcmyk(0%, 9.5%, 74.3%, 29.8%)
CIE-LABlab(66.23, -6.59, 58.81)
CIE-LCHlch(66.23, 59.17, 96.39°)
OKLaboklab(70.67% -0.0243 0.1295)
OKLCHoklch(70.67% 0.132 100.6)
XYZxyz(32.0054, 35.6231, 7.7743)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A22E #2E3FB3
analogous
#B3602E #B3A22E #82B32E
triadic
#B3A22E #2EB3A2 #A22EB3
tetradic
#B3A22E #2EB360 #2E3FB3 #B32E82
square
#B3A22E #2EB360 #2E3FB3 #B32E82
split-complementary
#B3A22E #2E82B3 #602EB3
monochromatic
#524A15 #827621 #B3A22E #D1C04D #DED17E

Accessibility & contrast

On white

2.58
#B3A22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A22E#FFFFFF#000000##000000
##B3A22E1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D19
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a22e;
/* rgb */ color: rgb(179, 162, 46);
/* oklch */ color: oklch(70.7% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#cdbd6f',
    500: '#b3a22e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a22e;
$custom-light: #cdbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a22e",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 52.331,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.13181,
    "h": 100.6
  },
  "luminance": 0.35622
}

Semantic roles & 50–950 ramp

primary
#B3A22E
secondary
#7681C6
accent
#5AE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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