#B7C941#B7C941

#B7C941 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.7% C 0.158 H 116.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#B7C941
RGBrgb(183, 201, 65)
HSLhsl(68, 56%, 52%)
HSVhsv(68, 68%, 79%)
CMYKcmyk(9%, 0%, 67.7%, 21.2%)
CIE-LABlab(77.41, -23.72, 62.83)
CIE-LCHlch(77.41, 67.16, 110.68°)
OKLaboklab(79.72% -0.0707 0.1412)
OKLCHoklch(79.72% 0.158 116.6)
XYZxyz(41.3702, 52.2227, 12.9006)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C941 #5341C9
analogous
#C99741 #B7C941 #73C941
triadic
#B7C941 #41B7C9 #C941B7
tetradic
#B7C941 #41C997 #5341C9 #C94173
square
#B7C941 #41C997 #5341C9 #C94173
split-complementary
#B7C941 #4173C9 #9741C9
monochromatic
#657020 #909F2D #B7C941 #C9D771 #DBE4A0

Accessibility & contrast

On white

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

On black

11.44
#B7C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C941
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C941#FFFFFF#000000##000000
##B7C9411.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2C
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#C2BEAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c941;
/* rgb */ color: rgb(183, 201, 65);
/* oklch */ color: oklch(79.7% 0.158 116.6);
Tailwind
colors: {
  custom: {
    50: '#d0d97d',
    500: '#b7c941',
    950: '#000000',
  },
}
SCSS
$custom: #b7c941;
$custom-light: #d0d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c941",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 67.941,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79715,
    "c": 0.15791,
    "h": 116.6
  },
  "luminance": 0.52222
}

Semantic roles & 50–950 ramp

primary
#B7C941
secondary
#3E3579
accent
#49DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C941

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

Preview Lab → · Contrast checker → · Palette generator →

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