#B4C638#B4C638

#B4C638 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.7% C 0.161 H 116.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#B4C638
RGBrgb(180, 198, 56)
HSLhsl(68, 56%, 50%)
HSVhsv(68, 72%, 78%)
CMYKcmyk(9.1%, 0%, 71.7%, 22.4%)
CIE-LABlab(76.30, -23.99, 64.95)
CIE-LCHlch(76.30, 69.24, 110.27°)
OKLaboklab(78.75% -0.0722 0.1443)
OKLCHoklch(78.75% 0.161 116.6)
XYZxyz(39.7313, 50.3775, 11.3714)
Luminance0.5038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C638 #4A38C6
analogous
#C69138 #B4C638 #6DC638
triadic
#B4C638 #38B4C6 #C638B4
tetradic
#B4C638 #38C691 #4A38C6 #C6386D
square
#B4C638 #38C691 #4A38C6 #C6386D
split-complementary
#B4C638 #386DC6 #9138C6
monochromatic
#5D671D #89962B #B4C638 #C6D467 #D8E297

Accessibility & contrast

On white

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

On black

11.08
#B4C638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C638
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C638#FFFFFF#000000##000000
##B4C6381.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#BFBBAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c638;
/* rgb */ color: rgb(180, 198, 56);
/* oklch */ color: oklch(78.7% 0.161 116.6);
Tailwind
colors: {
  custom: {
    50: '#ced778',
    500: '#b4c638',
    950: '#000000',
  },
}
SCSS
$custom: #b4c638;
$custom-light: #ced778;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c638",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 67.606,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78747,
    "c": 0.16132,
    "h": 116.6
  },
  "luminance": 0.50377
}

Semantic roles & 50–950 ramp

primary
#B4C638
secondary
#393171
accent
#49DF5C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4C638

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

Preview Lab → · Contrast checker → · Palette generator →

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