#B4A634#B4A634

#B4A634 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.131 H 102.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B4A634
RGBrgb(180, 166, 52)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 7.8%, 71.1%, 29.4%)
CIE-LABlab(67.45, -7.97, 57.76)
CIE-LCHlch(67.45, 58.31, 97.86°)
OKLaboklab(71.66% -0.0277 0.1284)
OKLCHoklch(71.66% 0.131 102.2)
XYZxyz(33.0799, 37.2251, 8.6908)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A634 #3442B4
analogous
#B46634 #B4A634 #82B434
triadic
#B4A634 #34B4A6 #A634B4
tetradic
#B4A634 #34B466 #3442B4 #B43482
square
#B4A634 #34B466 #3442B4 #B43482
split-complementary
#B4A634 #3482B4 #6634B4
monochromatic
#554E19 #857A26 #B4A634 #CEC157 #DCD386

Accessibility & contrast

On white

2.49
#B4A634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B4A634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A634
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A634#FFFFFF#000000##000000
##B4A6341.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#C29A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a634;
/* rgb */ color: rgb(180, 166, 52);
/* oklch */ color: oklch(71.7% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#cec073',
    500: '#b4a634',
    950: '#000000',
  },
}
SCSS
$custom: #b4a634;
$custom-light: #cec073;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a634",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 52
  },
  "hsl": {
    "h": 53.438,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71664,
    "c": 0.13136,
    "h": 102.2
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

primary
#B4A634
secondary
#7E86C6
accent
#5ADF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A634

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

Preview Lab → · Contrast checker → · Palette generator →

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