#B7C745#B7C745

#B7C745 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.3% C 0.153 H 116.0°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#B7C745
RGBrgb(183, 199, 69)
HSLhsl(67, 54%, 53%)
HSVhsv(67, 65%, 78%)
CMYKcmyk(8%, 0%, 65.3%, 22%)
CIE-LABlab(76.89, -22.50, 60.72)
CIE-LCHlch(76.89, 64.76, 110.33°)
OKLaboklab(79.3% -0.067 0.1374)
OKLCHoklch(79.3% 0.153 116)
XYZxyz(41.0270, 51.3444, 13.3782)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C745 #5545C7
analogous
#C79645 #B7C745 #76C745
triadic
#B7C745 #45B7C7 #C745B7
tetradic
#B7C745 #45C796 #5545C7 #C74576
square
#B7C745 #45C796 #5545C7 #C74576
split-complementary
#B7C745 #4576C7 #9645C7
monochromatic
#667022 #919F30 #B7C745 #C9D574 #DBE3A3

Accessibility & contrast

On white

1.86
#B7C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#B7C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C745
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C745#FFFFFF#000000##000000
##B7C7451.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD33
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#C2BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c745;
/* rgb */ color: rgb(183, 199, 69);
/* oklch */ color: oklch(79.3% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#d0d77f',
    500: '#b7c745',
    950: '#000000',
  },
}
SCSS
$custom: #b7c745;
$custom-light: #d0d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c745",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 67.385,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79301,
    "c": 0.1528,
    "h": 116
  },
  "luminance": 0.51344
}

Semantic roles & 50–950 ramp

primary
#B7C745
secondary
#3F3779
accent
#4BDD5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C745

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

Preview Lab → · Contrast checker → · Palette generator →

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