#B4A839#B4A839

#B4A839 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.130 H 103.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B4A839
RGBrgb(180, 168, 57)
HSLhsl(54, 52%, 46%)
HSVhsv(54, 68%, 71%)
CMYKcmyk(0%, 6.7%, 68.3%, 29.4%)
CIE-LABlab(68.02, -8.76, 56.36)
CIE-LCHlch(68.02, 57.03, 98.83°)
OKLaboklab(72.14% -0.0294 0.1263)
OKLCHoklch(72.14% 0.13 103.1)
XYZxyz(33.5649, 38.0053, 9.4378)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A839 #3945B4
analogous
#B46B39 #B4A839 #83B439
triadic
#B4A839 #39B4A8 #A839B4
tetradic
#B4A839 #39B46B #3945B4 #B43983
square
#B4A839 #39B46B #3945B4 #B43983
split-complementary
#B4A839 #3983B4 #6B39B4
monochromatic
#57511C #867D2A #B4A839 #CCC15E #DBD38D

Accessibility & contrast

On white

2.44
#B4A839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B4A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A839
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A839#FFFFFF#000000##000000
##B4A8391.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A329
Deuteranopia (green-blind)
#BBA840
Tritanopia (blue-blind)
#C19C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a839;
/* rgb */ color: rgb(180, 168, 57);
/* oklch */ color: oklch(72.1% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#cec176',
    500: '#b4a839',
    950: '#000000',
  },
}
SCSS
$custom: #b4a839;
$custom-light: #cec176;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a839",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 54.146,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72135,
    "c": 0.1297,
    "h": 103.1
  },
  "luminance": 0.38004
}

Semantic roles & 50–950 ramp

primary
#B4A839
secondary
#838AC5
accent
#5ADB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A839

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

Preview Lab → · Contrast checker → · Palette generator →

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