#B7C245#B7C245

#B7C245 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.2% C 0.147 H 114.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#B7C245
RGBrgb(183, 194, 69)
HSLhsl(65, 51%, 52%)
HSVhsv(65, 64%, 76%)
CMYKcmyk(5.7%, 0%, 64.4%, 23.9%)
CIE-LABlab(75.50, -20.04, 59.28)
CIE-LCHlch(75.50, 62.57, 108.68°)
OKLaboklab(78.19% -0.0601 0.1343)
OKLCHoklch(78.19% 0.147 114.1)
XYZxyz(39.8954, 49.0812, 13.0011)
Luminance0.4908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C245 #5045C2
analogous
#C28F45 #B7C245 #79C245
triadic
#B7C245 #45B7C2 #C245B7
tetradic
#B7C245 #45C28F #5045C2 #C24579
square
#B7C245 #45C28F #5045C2 #C24579
split-complementary
#B7C245 #4579C2 #8F45C2
monochromatic
#646A23 #8F9832 #B7C245 #C9D173 #DBE0A1

Accessibility & contrast

On white

1.94
#B7C245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#B7C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C245
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C245#FFFFFF#000000##000000
##B7C2451.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B934
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#C2B7A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c245;
/* rgb */ color: rgb(183, 194, 69);
/* oklch */ color: oklch(78.2% 0.147 114.1);
Tailwind
colors: {
  custom: {
    50: '#cfd47f',
    500: '#b7c245',
    950: '#000000',
  },
}
SCSS
$custom: #b7c245;
$custom-light: #cfd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c245",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 65.28,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78191,
    "c": 0.14712,
    "h": 114.1
  },
  "luminance": 0.49081
}

Semantic roles & 50–950 ramp

primary
#B7C245
secondary
#9B96CD
accent
#4EDA5A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7C245

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

Preview Lab → · Contrast checker → · Palette generator →

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