#B7C340#B7C340

#B7C340 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.4% C 0.152 H 114.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#B7C340
RGBrgb(183, 195, 64)
HSLhsl(65, 52%, 51%)
HSVhsv(65, 67%, 76%)
CMYKcmyk(6.2%, 0%, 67.2%, 23.5%)
CIE-LABlab(75.74, -20.84, 61.51)
CIE-LCHlch(75.74, 64.95, 108.71°)
OKLaboklab(78.37% -0.0628 0.1383)
OKLCHoklch(78.37% 0.152 114.4)
XYZxyz(39.9700, 49.4684, 12.2923)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C340 #4C40C3
analogous
#C38D40 #B7C340 #75C340
triadic
#B7C340 #40B7C3 #C340B7
tetradic
#B7C340 #40C38D #4C40C3 #C34075
square
#B7C340 #40C38D #4C40C3 #C34075
split-complementary
#B7C340 #4075C3 #8D40C3
monochromatic
#616821 #8D972F #B7C340 #C9D26F #DAE09D

Accessibility & contrast

On white

1.93
#B7C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#B7C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C340
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C340#FFFFFF#000000##000000
##B7C3401.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D0BC49
Tritanopia (blue-blind)
#C3B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c340;
/* rgb */ color: rgb(183, 195, 64);
/* oklch */ color: oklch(78.4% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#d0d57c',
    500: '#b7c340',
    950: '#000000',
  },
}
SCSS
$custom: #b7c340;
$custom-light: #d0d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c340",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 65.496,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78371,
    "c": 0.15185,
    "h": 114.4
  },
  "luminance": 0.49468
}

Semantic roles & 50–950 ramp

primary
#B7C340
secondary
#9892CC
accent
#4CDC59
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #B7C340

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

Preview Lab → · Contrast checker → · Palette generator →

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