#B4B630#B4B630

#B4B630 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.149 H 110.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B4B630
RGBrgb(180, 182, 48)
HSLhsl(61, 58%, 45%)
HSVhsv(61, 74%, 71%)
CMYKcmyk(1.1%, 0%, 73.6%, 28.6%)
CIE-LABlab(71.81, -16.43, 63.42)
CIE-LCHlch(71.81, 65.51, 104.53°)
OKLaboklab(75.13% -0.0519 0.1397)
OKLCHoklch(75.13% 0.149 110.4)
XYZxyz(36.0851, 43.3736, 9.2668)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B630 #3230B6
analogous
#B67530 #B4B630 #71B630
triadic
#B4B630 #30B4B6 #B630B4
tetradic
#B4B630 #30B675 #3230B6 #B63071
square
#B4B630 #30B675 #3230B6 #B63071
split-complementary
#B4B630 #3071B6 #7530B6
monochromatic
#545516 #848623 #B4B630 #CFD152 #DDDE82

Accessibility & contrast

On white

2.17
#B4B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B4B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B630
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B630#FFFFFF#000000##000000
##B4B6301.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE14
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b630;
/* rgb */ color: rgb(180, 182, 48);
/* oklch */ color: oklch(75.1% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#cecb72',
    500: '#b4b630',
    950: '#000000',
  },
}
SCSS
$custom: #b4b630;
$custom-light: #cecb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b630",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 60.896,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75132,
    "c": 0.14898,
    "h": 110.4
  },
  "luminance": 0.43373
}

Semantic roles & 50–950 ramp

primary
#B4B630
secondary
#7C7BC7
accent
#46E149
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B630

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

Preview Lab → · Contrast checker → · Palette generator →

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