#B4B427#B4B427

#B4B427 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.152 H 109.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B4B427
RGBrgb(180, 180, 39)
HSLhsl(60, 64%, 43%)
HSVhsv(60, 78%, 71%)
CMYKcmyk(0%, 0%, 78.3%, 29.4%)
CIE-LABlab(71.21, -15.79, 65.73)
CIE-LCHlch(71.21, 67.60, 103.50°)
OKLaboklab(74.64% -0.0508 0.1429)
OKLCHoklch(74.64% 0.152 109.6)
XYZxyz(35.5112, 42.4934, 8.2505)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B427 #2727B4
analogous
#B46D27 #B4B427 #6DB427
triadic
#B4B427 #27B4B4 #B427B4
tetradic
#B4B427 #27B46D #2727B4 #B4276D
square
#B4B427 #27B46D #2727B4 #B4276D
split-complementary
#B4B427 #276DB4 #6D27B4
monochromatic
#4F4F11 #82821C #B4B427 #D6D642 #E1E174

Accessibility & contrast

On white

2.21
#B4B427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B4B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B427
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B427#FFFFFF#000000##000000
##B4B4271.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b427;
/* rgb */ color: rgb(180, 180, 39);
/* oklch */ color: oklch(74.6% 0.152 109.6);
Tailwind
colors: {
  custom: {
    50: '#ceca6e',
    500: '#b4b427',
    950: '#000000',
  },
}
SCSS
$custom: #b4b427;
$custom-light: #ceca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b427",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7464,
    "c": 0.1517,
    "h": 109.6
  },
  "luminance": 0.42492
}

Semantic roles & 50–950 ramp

primary
#B4B427
secondary
#6F6FC8
accent
#40E740
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B427

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

Preview Lab → · Contrast checker → · Palette generator →

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