#B4A83A#B4A83A

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

Color values

HEX#B4A83A
RGBrgb(180, 168, 58)
HSLhsl(54, 51%, 47%)
HSVhsv(54, 68%, 71%)
CMYKcmyk(0%, 6.7%, 67.8%, 29.4%)
CIE-LABlab(68.03, -8.70, 55.96)
CIE-LCHlch(68.03, 56.63, 98.84°)
OKLaboklab(72.14% -0.0291 0.1257)
OKLCHoklch(72.14% 0.129 103)
XYZxyz(33.5901, 38.0154, 9.5705)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A83A #3A46B4
analogous
#B46B3A #B4A83A #83B43A
triadic
#B4A83A #3AB4A8 #A83AB4
tetradic
#B4A83A #3AB46B #3A46B4 #B43A83
square
#B4A83A #3AB46B #3A46B4 #B43A83
split-complementary
#B4A83A #3A83B4 #6B3AB4
monochromatic
#57521C #867D2B #B4A83A #CCC160 #DBD38E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A83A#FFFFFF#000000##000000
##B4A83A1.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)
#B7A32B
Deuteranopia (green-blind)
#BBA841
Tritanopia (blue-blind)
#C19D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a83a;
/* rgb */ color: rgb(180, 168, 58);
/* oklch */ color: oklch(72.1% 0.129 103.0);
Tailwind
colors: {
  custom: {
    50: '#cec176',
    500: '#b4a83a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a83a;
$custom-light: #cec176;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a83a",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 54.098,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72143,
    "c": 0.12899,
    "h": 103
  },
  "luminance": 0.38014
}

Semantic roles & 50–950 ramp

primary
#B4A83A
secondary
#858BC5
accent
#5BDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A83A

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

Preview Lab → · Contrast checker → · Palette generator →

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