#B3A21E#B3A21E

#B3A21E is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.140 H 101.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B3A21E
RGBrgb(179, 162, 30)
HSLhsl(53, 71%, 41%)
HSVhsv(53, 83%, 70%)
CMYKcmyk(0%, 9.5%, 83.2%, 29.8%)
CIE-LABlab(66.15, -7.18, 63.83)
CIE-LCHlch(66.15, 64.23, 96.42°)
OKLaboklab(70.58% -0.0274 0.1372)
OKLCHoklch(70.58% 0.14 101.3)
XYZxyz(31.7467, 35.5196, 6.4118)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A21E #1E2FB3
analogous
#B3571E #B3A21E #79B31E
triadic
#B3A21E #1EB3A2 #A21EB3
tetradic
#B3A21E #1EB357 #1E2FB3 #B31E79
square
#B3A21E #1EB357 #1E2FB3 #B31E79
split-complementary
#B3A21E #1E79B3 #571EB3
monochromatic
#4A430C #7F7315 #B3A21E #DDC932 #E5D766

Accessibility & contrast

On white

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

On black

8.10
#B3A21E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A21E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A21E#FFFFFF#000000##000000
##B3A21E1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B7A42A
Tritanopia (blue-blind)
#C1968A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a21e;
/* rgb */ color: rgb(179, 162, 30);
/* oklch */ color: oklch(70.6% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#cebd68',
    500: '#b3a21e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a21e;
$custom-light: #cebd68;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a21e",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 30
  },
  "hsl": {
    "h": 53.154,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70577,
    "c": 0.1399,
    "h": 101.3
  },
  "luminance": 0.35518
}

Semantic roles & 50–950 ramp

primary
#B3A21E
secondary
#626ECB
accent
#4EEE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A21E

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

Preview Lab → · Contrast checker → · Palette generator →

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