#B4C338#B4C338

#B4C338 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.1% C 0.158 H 115.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#B4C338
RGBrgb(180, 195, 56)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 76%)
CMYKcmyk(7.7%, 0%, 71.3%, 23.5%)
CIE-LABlab(75.46, -22.53, 64.14)
CIE-LCHlch(75.46, 67.98, 109.35°)
OKLaboklab(78.08% -0.0681 0.1426)
OKLCHoklch(78.08% 0.158 115.5)
XYZxyz(39.0523, 49.0197, 11.1451)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C338 #4738C3
analogous
#C38D38 #B4C338 #6FC338
triadic
#B4C338 #38B4C3 #C338B4
tetradic
#B4C338 #38C38D #4738C3 #C3386F
square
#B4C338 #38C38D #4738C3 #C3386F
split-complementary
#B4C338 #386FC3 #8D38C3
monochromatic
#5C641D #88932A #B4C338 #C7D365 #D8E195

Accessibility & contrast

On white

1.94
#B4C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#B4C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C338
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C338#FFFFFF#000000##000000
##B4C3381.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#C0B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c338;
/* rgb */ color: rgb(180, 195, 56);
/* oklch */ color: oklch(78.1% 0.158 115.5);
Tailwind
colors: {
  custom: {
    50: '#ced578',
    500: '#b4c338',
    950: '#000000',
  },
}
SCSS
$custom: #b4c338;
$custom-light: #ced578;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c338",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 66.475,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78075,
    "c": 0.158,
    "h": 115.5
  },
  "luminance": 0.49019
}

Semantic roles & 50–950 ramp

primary
#B4C338
secondary
#928BCC
accent
#49DF59
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C338

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

Preview Lab → · Contrast checker → · Palette generator →

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