#B7C740#B7C740

#B7C740 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.3% C 0.156 H 115.9°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#B7C740
RGBrgb(183, 199, 64)
HSLhsl(67, 55%, 52%)
HSVhsv(67, 68%, 78%)
CMYKcmyk(8%, 0%, 67.8%, 22%)
CIE-LABlab(76.85, -22.80, 62.64)
CIE-LCHlch(76.85, 66.66, 110.00°)
OKLaboklab(79.26% -0.0683 0.1406)
OKLCHoklch(79.26% 0.156 115.9)
XYZxyz(40.8783, 51.2849, 12.5950)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C740 #5040C7
analogous
#C79440 #B7C740 #74C740
triadic
#B7C740 #40B7C7 #C740B7
tetradic
#B7C740 #40C794 #5040C7 #C74074
square
#B7C740 #40C794 #5040C7 #C74074
split-complementary
#B7C740 #4074C7 #9440C7
monochromatic
#646D20 #8F9C2E #B7C740 #C9D56F #DBE39F

Accessibility & contrast

On white

1.87
#B7C740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#B7C740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C740
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C740#FFFFFF#000000##000000
##B7C7401.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#D3BF4A
Tritanopia (blue-blind)
#C2BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c740;
/* rgb */ color: rgb(183, 199, 64);
/* oklch */ color: oklch(79.3% 0.156 115.9);
Tailwind
colors: {
  custom: {
    50: '#d0d77d',
    500: '#b7c740',
    950: '#000000',
  },
}
SCSS
$custom: #b7c740;
$custom-light: #d0d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c740",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 67.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79261,
    "c": 0.15633,
    "h": 115.9
  },
  "luminance": 0.51284
}

Semantic roles & 50–950 ramp

primary
#B7C740
secondary
#3D3576
accent
#4ADE5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C740

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

Preview Lab → · Contrast checker → · Palette generator →

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