#B4A630#B4A630

#B4A630 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.134 H 102.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B4A630
RGBrgb(180, 166, 48)
HSLhsl(54, 58%, 45%)
HSVhsv(54, 73%, 71%)
CMYKcmyk(0%, 7.8%, 73.3%, 29.4%)
CIE-LABlab(67.42, -8.17, 59.24)
CIE-LCHlch(67.42, 59.80, 97.85°)
OKLaboklab(71.64% -0.0287 0.1308)
OKLCHoklch(71.64% 0.134 102.4)
XYZxyz(32.9936, 37.1906, 8.2363)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A630 #303EB4
analogous
#B46430 #B4A630 #80B430
triadic
#B4A630 #30B4A6 #A630B4
tetradic
#B4A630 #30B464 #303EB4 #B43080
square
#B4A630 #30B464 #303EB4 #B43080
split-complementary
#B4A630 #3080B4 #6430B4
monochromatic
#534D16 #847923 #B4A630 #D1C351 #DDD481

Accessibility & contrast

On white

2.49
#B4A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B4A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A630
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A630#FFFFFF#000000##000000
##B4A6301.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11B
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C29A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a630;
/* rgb */ color: rgb(180, 166, 48);
/* oklch */ color: oklch(71.6% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#cec071',
    500: '#b4a630',
    950: '#000000',
  },
}
SCSS
$custom: #b4a630;
$custom-light: #cec071;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a630",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 53.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.13391,
    "h": 102.4
  },
  "luminance": 0.37189
}

Semantic roles & 50–950 ramp

primary
#B4A630
secondary
#7982C6
accent
#57E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A630

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

Preview Lab → · Contrast checker → · Palette generator →

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