#B8C140#B8C140

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

Color values

HEX#B8C140
RGBrgb(184, 193, 64)
HSLhsl(64, 51%, 50%)
HSVhsv(64, 67%, 76%)
CMYKcmyk(4.7%, 0%, 66.8%, 24.3%)
CIE-LABlab(75.27, -19.43, 61.05)
CIE-LCHlch(75.27, 64.07, 107.65°)
OKLaboklab(78.01% -0.0589 0.1373)
OKLCHoklch(78.01% 0.149 113.2)
XYZxyz(39.7637, 48.7013, 12.1551)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C140 #4940C1
analogous
#C18940 #B8C140 #77C140
triadic
#B8C140 #40B8C1 #C140B8
tetradic
#B8C140 #40C189 #4940C1 #C14077
square
#B8C140 #40C189 #4940C1 #C14077
split-complementary
#B8C140 #4077C1 #8940C1
monochromatic
#616621 #8D9430 #B8C140 #C9D06E #DADF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8C140#FFFFFF#000000##000000
##B8C1401.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)
#CFB82D
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#C4B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b8c140;
/* rgb */ color: rgb(184, 193, 64);
/* oklch */ color: oklch(78.0% 0.149 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d37c',
    500: '#b8c140',
    950: '#000000',
  },
}
SCSS
$custom: #b8c140;
$custom-light: #d0d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c140",
  "rgb": {
    "r": 184,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 64.186,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78008,
    "c": 0.14938,
    "h": 113.2
  },
  "luminance": 0.487
}

Semantic roles & 50–950 ramp

primary
#B8C140
secondary
#9692CB
accent
#4DDA57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B8C140

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

Preview Lab → · Contrast checker → · Palette generator →

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