#B3A12D#B3A12D

#B3A12D is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.132 H 100.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B3A12D
RGBrgb(179, 161, 45)
HSLhsl(52, 60%, 44%)
HSVhsv(52, 75%, 70%)
CMYKcmyk(0%, 10.1%, 74.9%, 29.8%)
CIE-LABlab(65.95, -6.10, 58.91)
CIE-LCHlch(65.95, 59.22, 95.91°)
OKLaboklab(70.44% -0.0231 0.1296)
OKLCHoklch(70.44% 0.132 100.1)
XYZxyz(31.8105, 35.2644, 7.6133)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A12D #2D3FB3
analogous
#B35E2D #B3A12D #82B32D
triadic
#B3A12D #2DB3A1 #A12DB3
tetradic
#B3A12D #2DB35E #2D3FB3 #B32D82
square
#B3A12D #2DB35E #2D3FB3 #B32D82
split-complementary
#B3A12D #2D82B3 #5E2DB3
monochromatic
#514914 #827521 #B3A12D #D2C04B #DED17C

Accessibility & contrast

On white

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

On black

8.05
#B3A12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A12D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A12D#FFFFFF#000000##000000
##B3A12D1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a12d;
/* rgb */ color: rgb(179, 161, 45);
/* oklch */ color: oklch(70.4% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#cebc6f',
    500: '#b3a12d',
    950: '#000000',
  },
}
SCSS
$custom: #b3a12d;
$custom-light: #cebc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a12d",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 51.94,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.1316,
    "h": 100.1
  },
  "luminance": 0.35263
}

Semantic roles & 50–950 ramp

primary
#B3A12D
secondary
#7580C7
accent
#5AE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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