#B4C438#B4C438

#B4C438 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.3% C 0.159 H 115.9°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#B4C438
RGBrgb(180, 196, 56)
HSLhsl(67, 56%, 49%)
HSVhsv(67, 71%, 77%)
CMYKcmyk(8.2%, 0%, 71.4%, 23.1%)
CIE-LABlab(75.74, -23.02, 64.41)
CIE-LCHlch(75.74, 68.40, 109.66°)
OKLaboklab(78.3% -0.0695 0.1431)
OKLCHoklch(78.3% 0.159 115.9)
XYZxyz(39.2771, 49.4693, 11.2200)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C438 #4838C4
analogous
#C48E38 #B4C438 #6EC438
triadic
#B4C438 #38B4C4 #C438B4
tetradic
#B4C438 #38C48E #4838C4 #C4386E
square
#B4C438 #38C48E #4838C4 #C4386E
split-complementary
#B4C438 #386EC4 #8E38C4
monochromatic
#5D651D #88942A #B4C438 #C7D366 #D8E196

Accessibility & contrast

On white

1.93
#B4C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#B4C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C438
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C438#FFFFFF#000000##000000
##B4C4381.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D0BC43
Tritanopia (blue-blind)
#BFB9A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b4c438;
/* rgb */ color: rgb(180, 196, 56);
/* oklch */ color: oklch(78.3% 0.159 115.9);
Tailwind
colors: {
  custom: {
    50: '#ced578',
    500: '#b4c438',
    950: '#000000',
  },
}
SCSS
$custom: #b4c438;
$custom-light: #ced578;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c438",
  "rgb": {
    "r": 180,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 66.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.1591,
    "h": 115.9
  },
  "luminance": 0.49469
}

Semantic roles & 50–950 ramp

primary
#B4C438
secondary
#938CCC
accent
#49DF5A
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C438

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

Preview Lab → · Contrast checker → · Palette generator →

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