#B7C148#B7C148

#B7C148 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.144 H 113.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B7C148
RGBrgb(183, 193, 72)
HSLhsl(65, 49%, 52%)
HSVhsv(65, 63%, 76%)
CMYKcmyk(5.2%, 0%, 62.7%, 24.3%)
CIE-LABlab(75.25, -19.34, 57.77)
CIE-LCHlch(75.25, 60.92, 108.51°)
OKLaboklab(78% -0.0578 0.1316)
OKLCHoklch(78% 0.144 113.7)
XYZxyz(39.7691, 48.6758, 13.4300)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C148 #5248C1
analogous
#C18F48 #B7C148 #7AC148
triadic
#B7C148 #48B7C1 #C148B7
tetradic
#B7C148 #48C18F #5248C1 #C1487A
square
#B7C148 #48C18F #5248C1 #C1487A
split-complementary
#B7C148 #487AC1 #8F48C1
monochromatic
#656B24 #909834 #B7C148 #C9D076 #DBE0A3

Accessibility & contrast

On white

1.96
#B7C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B7C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C148
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C148#FFFFFF#000000##000000
##B7C1481.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#CEBB50
Tritanopia (blue-blind)
#C2B6A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c148;
/* rgb */ color: rgb(183, 193, 72);
/* oklch */ color: oklch(78.0% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#cfd381',
    500: '#b7c148',
    950: '#000000',
  },
}
SCSS
$custom: #b7c148;
$custom-light: #cfd381;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c148",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 64.959,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77996,
    "c": 0.14371,
    "h": 113.7
  },
  "luminance": 0.48675
}

Semantic roles & 50–950 ramp

primary
#B7C148
secondary
#9C98CD
accent
#4FD95A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7C148

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

Preview Lab → · Contrast checker → · Palette generator →

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