#B4B642#B4B642

#B4B642 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.3% C 0.137 H 110.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B4B642
RGBrgb(180, 182, 66)
HSLhsl(61, 47%, 49%)
HSVhsv(61, 64%, 71%)
CMYKcmyk(1.1%, 0%, 63.7%, 28.6%)
CIE-LABlab(71.93, -15.46, 56.69)
CIE-LCHlch(71.93, 58.76, 105.25°)
OKLaboklab(75.27% -0.0473 0.1285)
OKLCHoklch(75.27% 0.137 110.2)
XYZxyz(36.5348, 43.5535, 11.6353)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B642 #4442B6
analogous
#B67E42 #B4B642 #7AB642
triadic
#B4B642 #42B4B6 #B642B4
tetradic
#B4B642 #42B67E #4442B6 #B6427A
square
#B4B642 #42B67E #4442B6 #B6427A
split-complementary
#B4B642 #427AB6 #7E42B6
monochromatic
#5B5C21 #888932 #B4B642 #C8CA6C #D9DA99

Accessibility & contrast

On white

2.16
#B4B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B4B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B642
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B642#FFFFFF#000000##000000
##B4B6421.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE33
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#C0AB9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b642;
/* rgb */ color: rgb(180, 182, 66);
/* oklch */ color: oklch(75.3% 0.137 110.2);
Tailwind
colors: {
  custom: {
    50: '#cdcb7c',
    500: '#b4b642',
    950: '#000000',
  },
}
SCSS
$custom: #b4b642;
$custom-light: #cdcb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b642",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 61.034,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75268,
    "c": 0.13692,
    "h": 110.2
  },
  "luminance": 0.43553
}

Semantic roles & 50–950 ramp

primary
#B4B642
secondary
#8F8EC6
accent
#51D654
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B642

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

Preview Lab → · Contrast checker → · Palette generator →

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