#B4C031#B4C031

#B4C031 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.159 H 114.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B4C031
RGBrgb(180, 192, 49)
HSLhsl(65, 59%, 47%)
HSVhsv(65, 74%, 75%)
CMYKcmyk(6.2%, 0%, 74.5%, 24.7%)
CIE-LABlab(74.59, -21.39, 65.70)
CIE-LCHlch(74.59, 69.09, 108.03°)
OKLaboklab(77.36% -0.0656 0.1447)
OKLCHoklch(77.36% 0.159 114.4)
XYZxyz(38.2275, 47.6251, 10.0839)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C031 #3D31C0
analogous
#C08531 #B4C031 #6DC031
triadic
#B4C031 #31B4C0 #C031B4
tetradic
#B4C031 #31C085 #3D31C0 #C0316D
square
#B4C031 #31C085 #3D31C0 #C0316D
split-complementary
#B4C031 #316DC0 #8531C0
monochromatic
#595E18 #868F25 #B4C031 #CAD559 #DAE18A

Accessibility & contrast

On white

2.00
#B4C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B4C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C031
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C031#FFFFFF#000000##000000
##B4C0311.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB610
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C0B5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4c031;
/* rgb */ color: rgb(180, 192, 49);
/* oklch */ color: oklch(77.4% 0.159 114.4);
Tailwind
colors: {
  custom: {
    50: '#ced274',
    500: '#b4c031',
    950: '#000000',
  },
}
SCSS
$custom: #b4c031;
$custom-light: #ced274;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c031",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 65.035,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7736,
    "c": 0.15882,
    "h": 114.4
  },
  "luminance": 0.47624
}

Semantic roles & 50–950 ramp

primary
#B4C031
secondary
#8882CB
accent
#45E352
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C031

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

Preview Lab → · Contrast checker → · Palette generator →

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