#B7C846#B7C846

#B7C846 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.5% C 0.153 H 116.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#B7C846
RGBrgb(183, 200, 70)
HSLhsl(68, 54%, 53%)
HSVhsv(68, 65%, 78%)
CMYKcmyk(8.5%, 0%, 65%, 21.6%)
CIE-LABlab(77.17, -22.93, 60.62)
CIE-LCHlch(77.17, 64.81, 110.72°)
OKLaboklab(79.53% -0.068 0.1373)
OKLCHoklch(79.53% 0.153 116.4)
XYZxyz(41.2891, 51.8186, 13.6201)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C846 #5746C8
analogous
#C89846 #B7C846 #76C846
triadic
#B7C846 #46B7C8 #C846B7
tetradic
#B7C846 #46C898 #5746C8 #C84676
square
#B7C846 #46C898 #5746C8 #C84676
split-complementary
#B7C846 #4676C8 #9846C8
monochromatic
#677222 #92A130 #B7C846 #C9D675 #DCE4A4

Accessibility & contrast

On white

1.85
#B7C846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#B7C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C846
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C846#FFFFFF#000000##000000
##B7C8461.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE34
Deuteranopia (green-blind)
#D4BF4F
Tritanopia (blue-blind)
#C2BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c846;
/* rgb */ color: rgb(183, 200, 70);
/* oklch */ color: oklch(79.5% 0.153 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d880',
    500: '#b7c846',
    950: '#000000',
  },
}
SCSS
$custom: #b7c846;
$custom-light: #d0d880;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c846",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 67.846,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79532,
    "c": 0.15322,
    "h": 116.4
  },
  "luminance": 0.51818
}

Semantic roles & 50–950 ramp

primary
#B7C846
secondary
#40377B
accent
#4ADE5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C846

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

Preview Lab → · Contrast checker → · Palette generator →

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