#B3A22C#B3A22C

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

Color values

HEX#B3A22C
RGBrgb(179, 162, 44)
HSLhsl(52, 61%, 44%)
HSVhsv(52, 75%, 70%)
CMYKcmyk(0%, 9.5%, 75.4%, 29.8%)
CIE-LABlab(66.22, -6.68, 59.51)
CIE-LCHlch(66.22, 59.89, 96.40°)
OKLaboklab(70.65% -0.0248 0.1307)
OKLCHoklch(70.65% 0.133 100.7)
XYZxyz(31.9669, 35.6077, 7.5716)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A22C #2C3DB3
analogous
#B35E2C #B3A22C #80B32C
triadic
#B3A22C #2CB3A2 #A22CB3
tetradic
#B3A22C #2CB35E #2C3DB3 #B32C80
square
#B3A22C #2CB35E #2C3DB3 #B32C80
split-complementary
#B3A22C #2C80B3 #5E2CB3
monochromatic
#514914 #827620 #B3A22C #D2C14A #DFD27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A22C#FFFFFF#000000##000000
##B3A22C1.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)
#B29D15
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#C1968B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a22c;
/* rgb */ color: rgb(179, 162, 44);
/* oklch */ color: oklch(70.7% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#cebd6e',
    500: '#b3a22c',
    950: '#000000',
  },
}
SCSS
$custom: #b3a22c;
$custom-light: #cebd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a22c",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 52.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70652,
    "c": 0.13299,
    "h": 100.7
  },
  "luminance": 0.35606
}

Semantic roles & 50–950 ramp

primary
#B3A22C
secondary
#747EC7
accent
#58E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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