#B4A438#B4A438

#B4A438 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.127 H 100.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B4A438
RGBrgb(180, 164, 56)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 69%, 71%)
CMYKcmyk(0%, 8.9%, 68.9%, 29.4%)
CIE-LABlab(66.93, -6.71, 55.65)
CIE-LCHlch(66.93, 56.06, 96.87°)
OKLaboklab(71.26% -0.0237 0.1247)
OKLCHoklch(71.26% 0.127 100.8)
XYZxyz(32.8131, 36.5412, 9.0654)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A438 #3848B4
analogous
#B46638 #B4A438 #86B438
triadic
#B4A438 #38B4A4 #A438B4
tetradic
#B4A438 #38B466 #3848B4 #B43886
square
#B4A438 #38B466 #3848B4 #B43886
split-complementary
#B4A438 #3886B4 #6638B4
monochromatic
#574F1B #857929 #B4A438 #CDBE5D #DBD18B

Accessibility & contrast

On white

2.53
#B4A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B4A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A438
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A438#FFFFFF#000000##000000
##B4A4381.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#C2988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a438;
/* rgb */ color: rgb(180, 164, 56);
/* oklch */ color: oklch(71.3% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#cebe75',
    500: '#b4a438',
    950: '#000000',
  },
}
SCSS
$custom: #b4a438;
$custom-light: #cebe75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a438",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 52.258,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71264,
    "c": 0.1269,
    "h": 100.8
  },
  "luminance": 0.3654
}

Semantic roles & 50–950 ramp

primary
#B4A438
secondary
#828BC5
accent
#5EDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A438

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

Preview Lab → · Contrast checker → · Palette generator →

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