#B7C94A#B7C94A

#B7C94A is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.151 H 116.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#B7C94A
RGBrgb(183, 201, 74)
HSLhsl(69, 54%, 54%)
HSVhsv(69, 63%, 79%)
CMYKcmyk(9%, 0%, 63.2%, 21.2%)
CIE-LABlab(77.48, -23.15, 59.31)
CIE-LCHlch(77.48, 63.67, 111.32°)
OKLaboklab(79.79% -0.0683 0.1351)
OKLCHoklch(79.79% 0.151 116.8)
XYZxyz(41.6520, 52.3355, 14.3848)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C94A #5C4AC9
analogous
#C99C4A #B7C94A #78C94A
triadic
#B7C94A #4AB7C9 #C94AB7
tetradic
#B7C94A #4AC99C #5C4AC9 #C94A78
square
#B7C94A #4AC99C #5C4AC9 #C94A78
split-complementary
#B7C94A #4A78C9 #9C4AC9
monochromatic
#6A7623 #94A531 #B7C94A #CAD779 #DDE5A8

Accessibility & contrast

On white

1.83
#B7C94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#B7C94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C94A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C94A#FFFFFF#000000##000000
##B7C94A1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#C2BEAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c94a;
/* rgb */ color: rgb(183, 201, 74);
/* oklch */ color: oklch(79.8% 0.151 116.8);
Tailwind
colors: {
  custom: {
    50: '#cfd982',
    500: '#b7c94a',
    950: '#000000',
  },
}
SCSS
$custom: #b7c94a;
$custom-light: #cfd982;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c94a",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 68.504,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7979,
    "c": 0.15137,
    "h": 116.8
  },
  "luminance": 0.52335
}

Semantic roles & 50–950 ramp

primary
#B7C94A
secondary
#43397E
accent
#4ADD5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C94A

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

Preview Lab → · Contrast checker → · Palette generator →

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