#B7C348#B7C348

#B7C348 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.4% C 0.146 H 114.5°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#B7C348
RGBrgb(183, 195, 72)
HSLhsl(66, 51%, 52%)
HSVhsv(66, 63%, 76%)
CMYKcmyk(6.2%, 0%, 63.1%, 23.5%)
CIE-LABlab(75.80, -20.34, 58.36)
CIE-LCHlch(75.80, 61.80, 109.21°)
OKLaboklab(78.44% -0.0606 0.1328)
OKLCHoklch(78.44% 0.146 114.5)
XYZxyz(40.2142, 49.5661, 13.5784)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C348 #5448C3
analogous
#C39248 #B7C348 #79C348
triadic
#B7C348 #48B7C3 #C348B7
tetradic
#B7C348 #48C392 #5448C3 #C34879
square
#B7C348 #48C392 #5448C3 #C34879
split-complementary
#B7C348 #4879C3 #9248C3
monochromatic
#666D24 #919B33 #B7C348 #C9D276 #DBE1A4

Accessibility & contrast

On white

1.92
#B7C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#B7C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C348
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C348#FFFFFF#000000##000000
##B7C3481.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA38
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#C2B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c348;
/* rgb */ color: rgb(183, 195, 72);
/* oklch */ color: oklch(78.4% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#cfd581',
    500: '#b7c348',
    950: '#000000',
  },
}
SCSS
$custom: #b7c348;
$custom-light: #cfd581;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c348",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 65.854,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78439,
    "c": 0.14597,
    "h": 114.5
  },
  "luminance": 0.49565
}

Semantic roles & 50–950 ramp

primary
#B7C348
secondary
#9E99CE
accent
#4EDA5B
background
#FDFDF8
surface
#FAFAEF
border
#D3D3CA
text
#14140B
muted
#83837C

Preview Lab

Preview with #B7C348

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

Preview Lab → · Contrast checker → · Palette generator →

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