#B3A148#B3A148

#B3A148 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.111 H 98.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B3A148
RGBrgb(179, 161, 72)
HSLhsl(50, 43%, 49%)
HSVhsv(50, 60%, 70%)
CMYKcmyk(0%, 10.1%, 59.8%, 29.8%)
CIE-LABlab(66.17, -4.52, 47.74)
CIE-LCHlch(66.17, 47.96, 95.40°)
OKLaboklab(70.68% -0.0155 0.1104)
OKLCHoklch(70.68% 0.111 98)
XYZxyz(32.5063, 35.5427, 11.2778)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A148 #485AB3
analogous
#B36C48 #B3A148 #8FB348
triadic
#B3A148 #48B3A1 #A148B3
tetradic
#B3A148 #48B36C #485AB3 #B3488F
square
#B3A148 #48B36C #485AB3 #B3488F
split-complementary
#B3A148 #488FB3 #6C48B3
monochromatic
#5C5225 #877A36 #B3A148 #C6B872 #D8CE9E

Accessibility & contrast

On white

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

On black

8.11
#B3A148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A148
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A148#FFFFFF#000000##000000
##B3A1481.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3F
Deuteranopia (green-blind)
#B4A44C
Tritanopia (blue-blind)
#C0968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a148;
/* rgb */ color: rgb(179, 161, 72);
/* oklch */ color: oklch(70.7% 0.111 98.0);
Tailwind
colors: {
  custom: {
    50: '#ccbc7e',
    500: '#b3a148',
    950: '#000000',
  },
}
SCSS
$custom: #b3a148;
$custom-light: #ccbc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a148",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 49.907,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70683,
    "c": 0.11143,
    "h": 98
  },
  "luminance": 0.35541
}

Semantic roles & 50–950 ramp

primary
#B3A148
secondary
#929BC4
accent
#6AD255
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B3A148

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

Preview Lab → · Contrast checker → · Palette generator →

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