#B3A434#B3A434

#B3A434 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.130 H 101.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B3A434
RGBrgb(179, 164, 52)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 70%)
CMYKcmyk(0%, 8.4%, 70.9%, 29.8%)
CIE-LABlab(66.81, -7.36, 57.10)
CIE-LCHlch(66.81, 57.58, 97.34°)
OKLaboklab(71.14% -0.0259 0.1271)
OKLCHoklch(71.14% 0.13 101.5)
XYZxyz(32.4871, 36.3840, 8.5597)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A434 #3443B3
analogous
#B36434 #B3A434 #83B334
triadic
#B3A434 #34B3A4 #A434B3
tetradic
#B3A434 #34B364 #3443B3 #B33483
square
#B3A434 #34B364 #3443B3 #B33483
split-complementary
#B3A434 #3483B3 #6434B3
monochromatic
#544D18 #847926 #B3A434 #CEC056 #DCD286

Accessibility & contrast

On white

2.54
#B3A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B3A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A434
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A434#FFFFFF#000000##000000
##B3A4341.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#C1988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a434;
/* rgb */ color: rgb(179, 164, 52);
/* oklch */ color: oklch(71.1% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#cdbe73',
    500: '#b3a434',
    950: '#000000',
  },
}
SCSS
$custom: #b3a434;
$custom-light: #cdbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a434",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 52.913,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71139,
    "c": 0.12967,
    "h": 101.5
  },
  "luminance": 0.36383
}

Semantic roles & 50–950 ramp

primary
#B3A434
secondary
#7D86C5
accent
#5BDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A434

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

Preview Lab → · Contrast checker → · Palette generator →

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