#B4C738#B4C738

#B4C738 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.162 H 116.9°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#B4C738
RGBrgb(180, 199, 56)
HSLhsl(68, 56%, 50%)
HSVhsv(68, 72%, 78%)
CMYKcmyk(9.5%, 0%, 71.9%, 22%)
CIE-LABlab(76.58, -24.48, 65.22)
CIE-LCHlch(76.58, 69.67, 110.57°)
OKLaboklab(78.97% -0.0735 0.1449)
OKLCHoklch(78.97% 0.162 116.9)
XYZxyz(39.9606, 50.8362, 11.4479)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C738 #4B38C7
analogous
#C79238 #B4C738 #6DC738
triadic
#B4C738 #38B4C7 #C738B4
tetradic
#B4C738 #38C792 #4B38C7 #C7386D
square
#B4C738 #38C792 #4B38C7 #C7386D
split-complementary
#B4C738 #386DC7 #9238C7
monochromatic
#5E671D #89972B #B4C738 #C6D468 #D8E298

Accessibility & contrast

On white

1.88
#B4C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#B4C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C738
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C738#FFFFFF#000000##000000
##B4C7381.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC1D
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#BFBCAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c738;
/* rgb */ color: rgb(180, 199, 56);
/* oklch */ color: oklch(79.0% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#ced778',
    500: '#b4c738',
    950: '#000000',
  },
}
SCSS
$custom: #b4c738;
$custom-light: #ced778;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c738",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 67.972,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.78972,
    "c": 0.16244,
    "h": 116.9
  },
  "luminance": 0.50836
}

Semantic roles & 50–950 ramp

primary
#B4C738
secondary
#3A3272
accent
#48DF5C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4C738

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

Preview Lab → · Contrast checker → · Palette generator →

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