#B7C140#B7C140

#B7C140 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.150 H 113.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#B7C140
RGBrgb(183, 193, 64)
HSLhsl(65, 51%, 50%)
HSVhsv(65, 67%, 76%)
CMYKcmyk(5.2%, 0%, 66.8%, 24.3%)
CIE-LABlab(75.19, -19.85, 60.95)
CIE-LCHlch(75.19, 64.10, 108.04°)
OKLaboklab(77.93% -0.06 0.1371)
OKLCHoklch(77.93% 0.15 113.7)
XYZxyz(39.5249, 48.5781, 12.1439)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C140 #4A40C1
analogous
#C18A40 #B7C140 #76C140
triadic
#B7C140 #40B7C1 #C140B7
tetradic
#B7C140 #40C18A #4A40C1 #C14076
square
#B7C140 #40C18A #4A40C1 #C14076
split-complementary
#B7C140 #4076C1 #8A40C1
monochromatic
#606621 #8C9430 #B7C140 #C8D06E #DADF9C

Accessibility & contrast

On white

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

On black

10.72
#B7C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C140
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C140#FFFFFF#000000##000000
##B7C1401.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CFBA49
Tritanopia (blue-blind)
#C3B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c140;
/* rgb */ color: rgb(183, 193, 64);
/* oklch */ color: oklch(77.9% 0.150 113.7);
Tailwind
colors: {
  custom: {
    50: '#d0d37c',
    500: '#b7c140',
    950: '#000000',
  },
}
SCSS
$custom: #b7c140;
$custom-light: #d0d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c140",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 64.651,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77928,
    "c": 0.14964,
    "h": 113.7
  },
  "luminance": 0.48577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7C140

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

Preview Lab → · Contrast checker → · Palette generator →

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