#B3A535#B3A535

#B3A535 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.130 H 102.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B3A535
RGBrgb(179, 165, 53)
HSLhsl(53, 54%, 45%)
HSVhsv(53, 70%, 70%)
CMYKcmyk(0%, 7.8%, 70.4%, 29.8%)
CIE-LABlab(67.09, -7.83, 56.99)
CIE-LCHlch(67.09, 57.52, 97.83°)
OKLaboklab(71.36% -0.0271 0.127)
OKLCHoklch(71.36% 0.13 102.1)
XYZxyz(32.6896, 36.7524, 8.7395)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A535 #3543B3
analogous
#B36635 #B3A535 #82B335
triadic
#B3A535 #35B3A5 #A535B3
tetradic
#B3A535 #35B366 #3543B3 #B33582
square
#B3A535 #35B366 #3543B3 #B33582
split-complementary
#B3A535 #3582B3 #6635B3
monochromatic
#554E19 #847927 #B3A535 #CDC058 #DBD287

Accessibility & contrast

On white

2.51
#B3A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B3A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A535
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A535#FFFFFF#000000##000000
##B3A5351.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#C1998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a535;
/* rgb */ color: rgb(179, 165, 53);
/* oklch */ color: oklch(71.4% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#cdbf73',
    500: '#b3a535',
    950: '#000000',
  },
}
SCSS
$custom: #b3a535;
$custom-light: #cdbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a535",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 53.333,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71363,
    "c": 0.12987,
    "h": 102.1
  },
  "luminance": 0.36751
}

Semantic roles & 50–950 ramp

primary
#B3A535
secondary
#7F86C5
accent
#5BDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A535

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

Preview Lab → · Contrast checker → · Palette generator →

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