#B7C748#B7C748

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

Color values

HEX#B7C748
RGBrgb(183, 199, 72)
HSLhsl(68, 53%, 53%)
HSVhsv(68, 64%, 78%)
CMYKcmyk(8%, 0%, 63.8%, 22%)
CIE-LABlab(76.91, -22.31, 59.53)
CIE-LCHlch(76.91, 63.57, 110.54°)
OKLaboklab(79.33% -0.0661 0.1353)
OKLCHoklch(79.33% 0.151 116)
XYZxyz(41.1225, 51.3826, 13.8812)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C748 #5848C7
analogous
#C79748 #B7C748 #77C748
triadic
#B7C748 #48B7C7 #C748B7
tetradic
#B7C748 #48C797 #5848C7 #C74877
square
#B7C748 #48C797 #5848C7 #C74877
split-complementary
#B7C748 #4877C7 #9748C7
monochromatic
#687223 #93A131 #B7C748 #C9D577 #DCE4A6

Accessibility & contrast

On white

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

On black

11.28
#B7C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C748
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C748#FFFFFF#000000##000000
##B7C7481.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#C2BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c748;
/* rgb */ color: rgb(183, 199, 72);
/* oklch */ color: oklch(79.3% 0.151 116.0);
Tailwind
colors: {
  custom: {
    50: '#cfd781',
    500: '#b7c748',
    950: '#000000',
  },
}
SCSS
$custom: #b7c748;
$custom-light: #cfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c748",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 67.559,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79327,
    "c": 0.15057,
    "h": 116
  },
  "luminance": 0.51382
}

Semantic roles & 50–950 ramp

primary
#B7C748
secondary
#41387B
accent
#4BDD5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C748

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

Preview Lab → · Contrast checker → · Palette generator →

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