#B3A245#B3A245

#B3A245 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.115 H 99.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B3A245
RGBrgb(179, 162, 69)
HSLhsl(51, 44%, 49%)
HSVhsv(51, 61%, 70%)
CMYKcmyk(0%, 9.5%, 61.5%, 29.8%)
CIE-LABlab(66.41, -5.27, 49.41)
CIE-LCHlch(66.41, 49.69, 96.08°)
OKLaboklab(70.86% -0.018 0.1135)
OKLCHoklch(70.86% 0.115 99)
XYZxyz(32.5862, 35.8554, 10.8334)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A245 #4556B3
analogous
#B36B45 #B3A245 #8DB345
triadic
#B3A245 #45B3A2 #A245B3
tetradic
#B3A245 #45B36B #4556B3 #B3458D
square
#B3A245 #45B36B #4556B3 #B3458D
split-complementary
#B3A245 #458DB3 #6B45B3
monochromatic
#5B5223 #877A34 #B3A245 #C7B96E #D8CF9A

Accessibility & contrast

On white

2.57
#B3A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B3A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A245
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A245#FFFFFF#000000##000000
##B3A2451.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3B
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#C0978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a245;
/* rgb */ color: rgb(179, 162, 69);
/* oklch */ color: oklch(70.9% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#ccbd7c',
    500: '#b3a245',
    950: '#000000',
  },
}
SCSS
$custom: #b3a245;
$custom-light: #ccbd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a245",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 50.727,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70864,
    "c": 0.11492,
    "h": 99
  },
  "luminance": 0.35854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3A245

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

Preview Lab → · Contrast checker → · Palette generator →

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