#B4A935#B4A935

#B4A935 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.133 H 103.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B4A935
RGBrgb(180, 169, 53)
HSLhsl(55, 55%, 46%)
HSVhsv(55, 71%, 71%)
CMYKcmyk(0%, 6.1%, 70.6%, 29.4%)
CIE-LABlab(68.27, -9.50, 58.19)
CIE-LCHlch(68.27, 58.96, 99.27°)
OKLaboklab(72.32% -0.0319 0.1295)
OKLCHoklch(72.32% 0.133 103.8)
XYZxyz(33.6544, 38.3376, 8.9946)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A935 #3540B4
analogous
#B46935 #B4A935 #7FB435
triadic
#B4A935 #35B4A9 #A935B4
tetradic
#B4A935 #35B469 #3540B4 #B4357F
square
#B4A935 #35B469 #3540B4 #B4357F
split-complementary
#B4A935 #357FB4 #6935B4
monochromatic
#555019 #857D27 #B4A935 #CEC458 #DCD588

Accessibility & contrast

On white

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

On black

8.67
#B4A935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A935
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A935#FFFFFF#000000##000000
##B4A9351.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A323
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#C19D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a935;
/* rgb */ color: rgb(180, 169, 53);
/* oklch */ color: oklch(72.3% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#cec274',
    500: '#b4a935',
    950: '#000000',
  },
}
SCSS
$custom: #b4a935;
$custom-light: #cec274;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a935",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 54.803,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7232,
    "c": 0.13336,
    "h": 103.8
  },
  "luminance": 0.38336
}

Semantic roles & 50–950 ramp

primary
#B4A935
secondary
#7F85C6
accent
#57DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A935

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

Preview Lab → · Contrast checker → · Palette generator →

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