#B7C048#B7C048

#B7C048 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.8% C 0.143 H 113.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#B7C048
RGBrgb(183, 192, 72)
HSLhsl(65, 49%, 52%)
HSVhsv(65, 63%, 75%)
CMYKcmyk(4.7%, 0%, 62.5%, 24.7%)
CIE-LABlab(74.97, -18.84, 57.48)
CIE-LCHlch(74.97, 60.49, 108.15°)
OKLaboklab(77.78% -0.0564 0.1309)
OKLCHoklch(77.78% 0.143 113.3)
XYZxyz(39.5488, 48.2352, 13.3566)
Luminance0.4823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C048 #5148C0
analogous
#C08D48 #B7C048 #7BC048
triadic
#B7C048 #48B7C0 #C048B7
tetradic
#B7C048 #48C08D #5148C0 #C0487B
square
#B7C048 #48C08D #5148C0 #C0487B
split-complementary
#B7C048 #487BC0 #8D48C0
monochromatic
#646924 #8F9734 #B7C048 #C9D076 #DBDFA3

Accessibility & contrast

On white

1.97
#B7C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#B7C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C048
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C048#FFFFFF#000000##000000
##B7C0481.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#C2B5A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c048;
/* rgb */ color: rgb(183, 192, 72);
/* oklch */ color: oklch(77.8% 0.143 113.3);
Tailwind
colors: {
  custom: {
    50: '#cfd280',
    500: '#b7c048',
    950: '#000000',
  },
}
SCSS
$custom: #b7c048;
$custom-light: #cfd280;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c048",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 64.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77775,
    "c": 0.14257,
    "h": 113.3
  },
  "luminance": 0.48234
}

Semantic roles & 50–950 ramp

primary
#B7C048
secondary
#9C98CC
accent
#4FD85A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7C048

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

Preview Lab → · Contrast checker → · Palette generator →

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