#B7C540#B7C540

#B7C540 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.8% C 0.154 H 115.2°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#B7C540
RGBrgb(183, 197, 64)
HSLhsl(66, 53%, 51%)
HSVhsv(66, 68%, 77%)
CMYKcmyk(7.1%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.30, -21.82, 62.08)
CIE-LCHlch(76.30, 65.80, 109.37°)
OKLaboklab(78.82% -0.0656 0.1394)
OKLCHoklch(78.82% 0.154 115.2)
XYZxyz(40.4211, 50.3706, 12.4426)
Luminance0.5037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C540 #4E40C5
analogous
#C59040 #B7C540 #74C540
triadic
#B7C540 #40B7C5 #C540B7
tetradic
#B7C540 #40C590 #4E40C5 #C54074
square
#B7C540 #40C590 #4E40C5 #C54074
split-complementary
#B7C540 #4074C5 #9040C5
monochromatic
#636A20 #8E992F #B7C540 #C9D36F #DAE29E

Accessibility & contrast

On white

1.90
#B7C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#B7C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C540
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C540#FFFFFF#000000##000000
##B7C5401.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2C
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#C2BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c540;
/* rgb */ color: rgb(183, 197, 64);
/* oklch */ color: oklch(78.8% 0.154 115.2);
Tailwind
colors: {
  custom: {
    50: '#d0d67c',
    500: '#b7c540',
    950: '#000000',
  },
}
SCSS
$custom: #b7c540;
$custom-light: #d0d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c540",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 66.316,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78816,
    "c": 0.15408,
    "h": 115.2
  },
  "luminance": 0.5037
}

Semantic roles & 50–950 ramp

primary
#B7C540
secondary
#3C3574
accent
#4BDD5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C540

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

Preview Lab → · Contrast checker → · Palette generator →

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