#B4B62C#B4B62C

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

Color values

HEX#B4B62C
RGBrgb(180, 182, 44)
HSLhsl(61, 61%, 44%)
HSVhsv(61, 76%, 71%)
CMYKcmyk(1.1%, 0%, 75.8%, 28.6%)
CIE-LABlab(71.79, -16.61, 64.72)
CIE-LCHlch(71.79, 66.81, 104.39°)
OKLaboklab(75.11% -0.0527 0.1417)
OKLCHoklch(75.11% 0.151 110.4)
XYZxyz(36.0063, 43.3421, 8.8515)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B62C #2E2CB6
analogous
#B6732C #B4B62C #6FB62C
triadic
#B4B62C #2CB4B6 #B62CB4
tetradic
#B4B62C #2CB673 #2E2CB6 #B62C6F
square
#B4B62C #2CB673 #2E2CB6 #B62C6F
split-complementary
#B4B62C #2C6FB6 #732CB6
monochromatic
#535314 #838520 #B4B62C #D2D44C #DEE07D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B62C#FFFFFF#000000##000000
##B4B62C1.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)
#C5AE07
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b62c;
/* rgb */ color: rgb(180, 182, 44);
/* oklch */ color: oklch(75.1% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#cecb71',
    500: '#b4b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b4b62c;
$custom-light: #cecb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b62c",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 60.87,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.15116,
    "h": 110.4
  },
  "luminance": 0.43341
}

Semantic roles & 50–950 ramp

primary
#B4B62C
secondary
#7776C8
accent
#44E446
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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