#B3A145#B3A145

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

Color values

HEX#B3A145
RGBrgb(179, 161, 69)
HSLhsl(50, 44%, 49%)
HSVhsv(50, 61%, 70%)
CMYKcmyk(0%, 10.1%, 61.5%, 29.8%)
CIE-LABlab(66.14, -4.73, 49.11)
CIE-LCHlch(66.14, 49.34, 95.50°)
OKLaboklab(70.65% -0.0164 0.1129)
OKLCHoklch(70.65% 0.114 98.3)
XYZxyz(32.4108, 35.5045, 10.7749)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A145 #4557B3
analogous
#B36A45 #B3A145 #8EB345
triadic
#B3A145 #45B3A1 #A145B3
tetradic
#B3A145 #45B36A #4557B3 #B3458E
square
#B3A145 #45B36A #4557B3 #B3458E
split-complementary
#B3A145 #458EB3 #6A45B3
monochromatic
#5B5223 #877934 #B3A145 #C7B96E #D8CE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A145#FFFFFF#000000##000000
##B3A1451.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)
#B09D3B
Deuteranopia (green-blind)
#B4A44A
Tritanopia (blue-blind)
#C0968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a145;
/* rgb */ color: rgb(179, 161, 69);
/* oklch */ color: oklch(70.7% 0.114 98.3);
Tailwind
colors: {
  custom: {
    50: '#ccbc7c',
    500: '#b3a145',
    950: '#000000',
  },
}
SCSS
$custom: #b3a145;
$custom-light: #ccbc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a145",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 50.182,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.11406,
    "h": 98.3
  },
  "luminance": 0.35503
}

Semantic roles & 50–950 ramp

primary
#B3A145
secondary
#8F98C4
accent
#69D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B3A145

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

Preview Lab → · Contrast checker → · Palette generator →

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