#B4C631#B4C631

#B4C631 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.7% C 0.165 H 116.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B4C631
RGBrgb(180, 198, 49)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 78%)
CMYKcmyk(9.1%, 0%, 75.3%, 22.4%)
CIE-LABlab(76.26, -24.33, 67.26)
CIE-LCHlch(76.26, 71.53, 109.88°)
OKLaboklab(78.7% -0.0737 0.148)
OKLCHoklch(78.7% 0.165 116.5)
XYZxyz(39.5719, 50.3138, 10.5320)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C631 #4331C6
analogous
#C68D31 #B4C631 #69C631
triadic
#B4C631 #31B4C6 #C631B4
tetradic
#B4C631 #31C68D #4331C6 #C63169
square
#B4C631 #31C68D #4331C6 #C63169
split-complementary
#B4C631 #3169C6 #8D31C6
monochromatic
#5B6419 #879525 #B4C631 #C8D75D #D9E38E

Accessibility & contrast

On white

1.90
#B4C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B4C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C631
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C631#FFFFFF#000000##000000
##B4C6311.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0B
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#C0BBAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c631;
/* rgb */ color: rgb(180, 198, 49);
/* oklch */ color: oklch(78.7% 0.165 116.5);
Tailwind
colors: {
  custom: {
    50: '#ced775',
    500: '#b4c631',
    950: '#000000',
  },
}
SCSS
$custom: #b4c631;
$custom-light: #ced775;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c631",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 67.248,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78704,
    "c": 0.1653,
    "h": 116.5
  },
  "luminance": 0.50313
}

Semantic roles & 50–950 ramp

primary
#B4C631
secondary
#352D6E
accent
#44E358
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C631

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

Preview Lab → · Contrast checker → · Palette generator →

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