#B3A335#B3A335

#B3A335 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.128 H 100.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B3A335
RGBrgb(179, 163, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 8.9%, 70.4%, 29.8%)
CIE-LABlab(66.55, -6.78, 56.45)
CIE-LCHlch(66.55, 56.85, 96.85°)
OKLaboklab(70.93% -0.0241 0.1259)
OKLCHoklch(70.93% 0.128 100.9)
XYZxyz(32.3316, 36.0366, 8.6202)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A335 #3545B3
analogous
#B36435 #B3A335 #84B335
triadic
#B3A335 #35B3A3 #A335B3
tetradic
#B3A335 #35B364 #3545B3 #B33584
square
#B3A335 #35B364 #3545B3 #B33584
split-complementary
#B3A335 #3584B3 #6435B3
monochromatic
#554D19 #847827 #B3A335 #CDBF58 #DBD187

Accessibility & contrast

On white

2.56
#B3A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B3A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A335
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A335#FFFFFF#000000##000000
##B3A3351.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E25
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a335;
/* rgb */ color: rgb(179, 163, 53);
/* oklch */ color: oklch(70.9% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#cdbd73',
    500: '#b3a335',
    950: '#000000',
  },
}
SCSS
$custom: #b3a335;
$custom-light: #cdbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a335",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 52.381,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.12814,
    "h": 100.9
  },
  "luminance": 0.36035
}

Semantic roles & 50–950 ramp

primary
#B3A335
secondary
#7F87C5
accent
#5DDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A335

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

Preview Lab → · Contrast checker → · Palette generator →

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