#B3A12F#B3A12F

#B3A12F is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.130 H 100.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B3A12F
RGBrgb(179, 161, 47)
HSLhsl(52, 58%, 44%)
HSVhsv(52, 74%, 70%)
CMYKcmyk(0%, 10.1%, 73.7%, 29.8%)
CIE-LABlab(65.97, -6.01, 58.18)
CIE-LCHlch(65.97, 58.49, 95.90°)
OKLaboklab(70.46% -0.0226 0.1284)
OKLCHoklch(70.46% 0.13 100)
XYZxyz(31.8499, 35.2802, 7.8209)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A12F #2F41B3
analogous
#B35F2F #B3A12F #83B32F
triadic
#B3A12F #2FB3A1 #A12FB3
tetradic
#B3A12F #2FB35F #2F41B3 #B32F83
square
#B3A12F #2FB35F #2F41B3 #B32F83
split-complementary
#B3A12F #2F83B3 #5F2FB3
monochromatic
#524A16 #837522 #B3A12F #D1BF4F #DDD17F

Accessibility & contrast

On white

2.61
#B3A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B3A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A12F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A12F#FFFFFF#000000##000000
##B3A12F1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1B
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#C1958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b3a12f;
/* rgb */ color: rgb(179, 161, 47);
/* oklch */ color: oklch(70.5% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#cdbc70',
    500: '#b3a12f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a12f;
$custom-light: #cdbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a12f",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 51.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.1304,
    "h": 100
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

primary
#B3A12F
secondary
#7882C6
accent
#5BE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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