#B3A22D#B3A22D

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

Color values

HEX#B3A22D
RGBrgb(179, 162, 45)
HSLhsl(52, 60%, 44%)
HSVhsv(52, 75%, 70%)
CMYKcmyk(0%, 9.5%, 74.9%, 29.8%)
CIE-LABlab(66.22, -6.63, 59.16)
CIE-LCHlch(66.22, 59.53, 96.40°)
OKLaboklab(70.66% -0.0246 0.1301)
OKLCHoklch(70.66% 0.132 100.7)
XYZxyz(31.9859, 35.6153, 7.6717)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A22D #2D3EB3
analogous
#B35F2D #B3A22D #81B32D
triadic
#B3A22D #2DB3A2 #A22DB3
tetradic
#B3A22D #2DB35F #2D3EB3 #B32D81
square
#B3A22D #2DB35F #2D3EB3 #B32D81
split-complementary
#B3A22D #2D81B3 #5F2DB3
monochromatic
#514914 #827621 #B3A22D #D2C14B #DED27C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A22D#FFFFFF#000000##000000
##B3A22D1.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)
#B29D17
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#C1968B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a22d;
/* rgb */ color: rgb(179, 162, 45);
/* oklch */ color: oklch(70.7% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#cebd6f',
    500: '#b3a22d',
    950: '#000000',
  },
}
SCSS
$custom: #b3a22d;
$custom-light: #cebd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a22d",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 52.388,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.13241,
    "h": 100.7
  },
  "luminance": 0.35614
}

Semantic roles & 50–950 ramp

primary
#B3A22D
secondary
#7580C7
accent
#59E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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