#B7C545#B7C545

#B7C545 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.9% C 0.151 H 115.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#B7C545
RGBrgb(183, 197, 69)
HSLhsl(67, 52%, 52%)
HSVhsv(67, 65%, 77%)
CMYKcmyk(7.1%, 0%, 65%, 22.7%)
CIE-LABlab(76.33, -21.52, 60.14)
CIE-LCHlch(76.33, 63.88, 109.69°)
OKLaboklab(78.86% -0.0642 0.1361)
OKLCHoklch(78.86% 0.151 115.3)
XYZxyz(40.5698, 50.4301, 13.2259)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C545 #5345C5
analogous
#C59345 #B7C545 #77C545
triadic
#B7C545 #45B7C5 #C545B7
tetradic
#B7C545 #45C593 #5345C5 #C54577
square
#B7C545 #45C593 #5345C5 #C54577
split-complementary
#B7C545 #4577C5 #9345C5
monochromatic
#656D22 #909C31 #B7C545 #C9D474 #DBE2A2

Accessibility & contrast

On white

1.89
#B7C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#B7C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C545
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C545#FFFFFF#000000##000000
##B7C5451.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#C2BAAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c545;
/* rgb */ color: rgb(183, 197, 69);
/* oklch */ color: oklch(78.9% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#d0d67f',
    500: '#b7c545',
    950: '#000000',
  },
}
SCSS
$custom: #b7c545;
$custom-light: #d0d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c545",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 66.563,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78857,
    "c": 0.15052,
    "h": 115.3
  },
  "luminance": 0.50429
}

Semantic roles & 50–950 ramp

primary
#B7C545
secondary
#3E3777
accent
#4CDC5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C545

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

Preview Lab → · Contrast checker → · Palette generator →

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