#B7C730#B7C730

#B7C730 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.2% C 0.166 H 115.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#B7C730
RGBrgb(183, 199, 48)
HSLhsl(66, 61%, 48%)
HSVhsv(66, 76%, 78%)
CMYKcmyk(8%, 0%, 75.9%, 22%)
CIE-LABlab(76.76, -23.61, 68.12)
CIE-LCHlch(76.76, 72.09, 109.11°)
OKLaboklab(79.16% -0.0719 0.1495)
OKLCHoklch(79.16% 0.166 115.7)
XYZxyz(40.4865, 51.1282, 10.5317)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C730 #4030C7
analogous
#C78B30 #B7C730 #6BC730
triadic
#B7C730 #30B7C7 #C730B7
tetradic
#B7C730 #30C78B #4030C7 #C7306B
square
#B7C730 #30C78B #4030C7 #C7306B
split-complementary
#B7C730 #306BC7 #8B30C7
monochromatic
#5C6418 #8A9624 #B7C730 #CBD85C #DBE48E

Accessibility & contrast

On white

1.87
#B7C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#B7C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C730
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C730#FFFFFF#000000##000000
##B7C7301.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD06
Deuteranopia (green-blind)
#D4BF3E
Tritanopia (blue-blind)
#C3BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b7c730;
/* rgb */ color: rgb(183, 199, 48);
/* oklch */ color: oklch(79.2% 0.166 115.7);
Tailwind
colors: {
  custom: {
    50: '#d0d775',
    500: '#b7c730',
    950: '#000000',
  },
}
SCSS
$custom: #b7c730;
$custom-light: #d0d775;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c730",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 66.358,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79155,
    "c": 0.16592,
    "h": 115.7
  },
  "luminance": 0.51128
}

Semantic roles & 50–950 ramp

primary
#B7C730
secondary
#332C6F
accent
#44E455
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C730

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

Preview Lab → · Contrast checker → · Palette generator →

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