#B7C640#B7C640

#B7C640 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.155 H 115.5°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#B7C640
RGBrgb(183, 198, 64)
HSLhsl(67, 54%, 51%)
HSVhsv(67, 68%, 78%)
CMYKcmyk(7.6%, 0%, 67.7%, 22.4%)
CIE-LABlab(76.57, -22.31, 62.36)
CIE-LCHlch(76.57, 66.23, 109.69°)
OKLaboklab(79.04% -0.0669 0.14)
OKLCHoklch(79.04% 0.155 115.5)
XYZxyz(40.6489, 50.8262, 12.5186)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C640 #4F40C6
analogous
#C69240 #B7C640 #74C640
triadic
#B7C640 #40B7C6 #C640B7
tetradic
#B7C640 #40C692 #4F40C6 #C64074
square
#B7C640 #40C692 #4F40C6 #C64074
split-complementary
#B7C640 #4074C6 #9240C6
monochromatic
#636C20 #8F9B2E #B7C640 #C9D46F #DBE29E

Accessibility & contrast

On white

1.88
#B7C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#B7C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C640
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C640#FFFFFF#000000##000000
##B7C6401.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2C
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#C2BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b7c640;
/* rgb */ color: rgb(183, 198, 64);
/* oklch */ color: oklch(79.0% 0.155 115.5);
Tailwind
colors: {
  custom: {
    50: '#d0d77c',
    500: '#b7c640',
    950: '#000000',
  },
}
SCSS
$custom: #b7c640;
$custom-light: #d0d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c640",
  "rgb": {
    "r": 183,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 66.716,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79038,
    "c": 0.1552,
    "h": 115.5
  },
  "luminance": 0.50826
}

Semantic roles & 50–950 ramp

primary
#B7C640
secondary
#3C3575
accent
#4ADD5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C640

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

Preview Lab → · Contrast checker → · Palette generator →

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