#B7C845#B7C845

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

Color values

HEX#B7C845
RGBrgb(183, 200, 69)
HSLhsl(68, 54%, 53%)
HSVhsv(68, 66%, 78%)
CMYKcmyk(8.5%, 0%, 65.5%, 21.6%)
CIE-LABlab(77.16, -22.99, 61.01)
CIE-LCHlch(77.16, 65.20, 110.65°)
OKLaboklab(79.52% -0.0683 0.138)
OKLCHoklch(79.52% 0.154 116.3)
XYZxyz(41.2578, 51.8060, 13.4552)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C845 #5645C8
analogous
#C89745 #B7C845 #76C845
triadic
#B7C845 #45B7C8 #C845B7
tetradic
#B7C845 #45C897 #5645C8 #C84576
square
#B7C845 #45C897 #5645C8 #C84576
split-complementary
#B7C845 #4576C8 #9745C8
monochromatic
#677121 #92A02F #B7C845 #C9D674 #DCE4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C845#FFFFFF#000000##000000
##B7C8451.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)
#D5BE33
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#C2BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c845;
/* rgb */ color: rgb(183, 200, 69);
/* oklch */ color: oklch(79.5% 0.154 116.3);
Tailwind
colors: {
  custom: {
    50: '#d0d87f',
    500: '#b7c845',
    950: '#000000',
  },
}
SCSS
$custom: #b7c845;
$custom-light: #d0d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c845",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 67.786,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79524,
    "c": 0.15395,
    "h": 116.3
  },
  "luminance": 0.51806
}

Semantic roles & 50–950 ramp

primary
#B7C845
secondary
#40377A
accent
#4ADE5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C845

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

Preview Lab → · Contrast checker → · Palette generator →

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