#B4A93B#B4A93B

#B4A93B is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.129 H 103.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B4A93B
RGBrgb(180, 169, 59)
HSLhsl(55, 51%, 47%)
HSVhsv(55, 67%, 71%)
CMYKcmyk(0%, 6.1%, 67.2%, 29.4%)
CIE-LABlab(68.31, -9.17, 55.83)
CIE-LCHlch(68.31, 56.58, 99.33°)
OKLaboklab(72.37% -0.0303 0.1256)
OKLCHoklch(72.37% 0.129 103.6)
XYZxyz(33.8011, 38.3963, 9.7676)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A93B #3B46B4
analogous
#B46C3B #B4A93B #83B43B
triadic
#B4A93B #3BB4A9 #A93BB4
tetradic
#B4A93B #3BB46C #3B46B4 #B43B83
square
#B4A93B #3BB46C #3B46B4 #B43B83
split-complementary
#B4A93B #3B83B4 #6C3BB4
monochromatic
#58521D #867E2C #B4A93B #CBC261 #DAD38F

Accessibility & contrast

On white

2.42
#B4A93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B4A93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A93B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A93B#FFFFFF#000000##000000
##B4A93B1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32C
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#C19E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4a93b;
/* rgb */ color: rgb(180, 169, 59);
/* oklch */ color: oklch(72.4% 0.129 103.6);
Tailwind
colors: {
  custom: {
    50: '#cec277',
    500: '#b4a93b',
    950: '#000000',
  },
}
SCSS
$custom: #b4a93b;
$custom-light: #cec277;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a93b",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 54.545,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.12917,
    "h": 103.6
  },
  "luminance": 0.38395
}

Semantic roles & 50–950 ramp

primary
#B4A93B
secondary
#868BC5
accent
#5ADA4E
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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