#B3A22F#B3A22F

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

Color values

HEX#B3A22F
RGBrgb(179, 162, 47)
HSLhsl(52, 58%, 44%)
HSVhsv(52, 74%, 70%)
CMYKcmyk(0%, 9.5%, 73.7%, 29.8%)
CIE-LABlab(66.24, -6.54, 58.44)
CIE-LCHlch(66.24, 58.81, 96.39°)
OKLaboklab(70.67% -0.0241 0.129)
OKLCHoklch(70.67% 0.131 100.6)
XYZxyz(32.0253, 35.6311, 7.8794)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A22F #2F40B3
analogous
#B3602F #B3A22F #82B32F
triadic
#B3A22F #2FB3A2 #A22FB3
tetradic
#B3A22F #2FB360 #2F40B3 #B32F82
square
#B3A22F #2FB360 #2F40B3 #B32F82
split-complementary
#B3A22F #2F82B3 #602FB3
monochromatic
#524A16 #837622 #B3A22F #D1C04F #DDD17F

Accessibility & contrast

On white

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

On black

8.13
#B3A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A22F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A22F#FFFFFF#000000##000000
##B3A22F1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a22f;
/* rgb */ color: rgb(179, 162, 47);
/* oklch */ color: oklch(70.7% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#cdbd70',
    500: '#b3a22f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a22f;
$custom-light: #cdbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a22f",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 52.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70672,
    "c": 0.13121,
    "h": 100.6
  },
  "luminance": 0.3563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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