#B4A335#B4A335

#B4A335 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.128 H 100.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B4A335
RGBrgb(180, 163, 53)
HSLhsl(52, 55%, 46%)
HSVhsv(52, 71%, 71%)
CMYKcmyk(0%, 9.4%, 70.6%, 29.4%)
CIE-LABlab(66.64, -6.34, 56.57)
CIE-LCHlch(66.64, 56.92, 96.39°)
OKLaboklab(71.03% -0.023 0.1261)
OKLCHoklch(71.03% 0.128 100.3)
XYZxyz(32.5637, 36.1562, 8.6311)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A335 #3546B4
analogous
#B46435 #B4A335 #85B435
triadic
#B4A335 #35B4A3 #A335B4
tetradic
#B4A335 #35B464 #3546B4 #B43585
square
#B4A335 #35B464 #3546B4 #B43585
split-complementary
#B4A335 #3585B4 #6435B4
monochromatic
#554D19 #857827 #B4A335 #CEBE58 #DCD188

Accessibility & contrast

On white

2.55
#B4A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B4A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A335
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A335#FFFFFF#000000##000000
##B4A3351.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E24
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a335;
/* rgb */ color: rgb(180, 163, 53);
/* oklch */ color: oklch(71.0% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#cebd73',
    500: '#b4a335',
    950: '#000000',
  },
}
SCSS
$custom: #b4a335;
$custom-light: #cebd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a335",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 51.969,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71025,
    "c": 0.12814,
    "h": 100.3
  },
  "luminance": 0.36155
}

Semantic roles & 50–950 ramp

primary
#B4A335
secondary
#7F89C6
accent
#5EDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A335

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

Preview Lab → · Contrast checker → · Palette generator →

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