#B4C161#B4C161

#B4C161 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.122 H 115.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B4C161
RGBrgb(180, 193, 97)
HSLhsl(68, 44%, 57%)
HSVhsv(68, 50%, 76%)
CMYKcmyk(6.7%, 0%, 49.7%, 24.3%)
CIE-LABlab(75.27, -18.55, 46.39)
CIE-LCHlch(75.27, 49.96, 111.79°)
OKLaboklab(78.04% -0.0529 0.11)
OKLCHoklch(78.04% 0.122 115.7)
XYZxyz(40.0506, 48.7068, 18.5984)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C161 #6E61C1
analogous
#C19E61 #B4C161 #84C161
triadic
#B4C161 #61B4C1 #C161B4
tetradic
#B4C161 #61C19E #6E61C1 #C16184
square
#B4C161 #61C19E #6E61C1 #C16184
split-complementary
#B4C161 #6184C1 #9E61C1
monochromatic
#6E782F #97A440 #B4C161 #C9D28D #DEE3B9

Accessibility & contrast

On white

1.96
#B4C161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B4C161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C161
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C161#FFFFFF#000000##000000
##B4C1611.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB958
Deuteranopia (green-blind)
#CBBA66
Tritanopia (blue-blind)
#BDB8AB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c161;
/* rgb */ color: rgb(180, 193, 97);
/* oklch */ color: oklch(78.0% 0.122 115.7);
Tailwind
colors: {
  custom: {
    50: '#ccd390',
    500: '#b4c161',
    950: '#000000',
  },
}
SCSS
$custom: #b4c161;
$custom-light: #ccd390;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c161",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 68.125,
    "s": 43.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78035,
    "c": 0.12206,
    "h": 115.7
  },
  "luminance": 0.48706
}

Semantic roles & 50–950 ramp

primary
#B4C161
secondary
#B1ABD2
accent
#54D366
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#14140D
muted
#82827E

Preview Lab

Preview with #B4C161

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

Preview Lab → · Contrast checker → · Palette generator →

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