#B7C330#B7C330

#B7C330 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.162 H 114.3°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#B7C330
RGBrgb(183, 195, 48)
HSLhsl(65, 60%, 48%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(6.2%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.64, -21.65, 67.09)
CIE-LCHlch(75.64, 70.50, 107.88°)
OKLaboklab(78.26% -0.0665 0.1473)
OKLCHoklch(78.26% 0.162 114.3)
XYZxyz(39.5782, 49.3117, 10.2289)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C330 #3C30C3
analogous
#C38530 #B7C330 #6DC330
triadic
#B7C330 #30B7C3 #C330B7
tetradic
#B7C330 #30C385 #3C30C3 #C3306D
square
#B7C330 #30C385 #3C30C3 #C3306D
split-complementary
#B7C330 #306DC3 #8530C3
monochromatic
#5B6118 #899224 #B7C330 #CCD65A #DBE28B

Accessibility & contrast

On white

1.93
#B7C330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#B7C330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C330
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C330#FFFFFF#000000##000000
##B7C3301.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90A
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#C3B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c330;
/* rgb */ color: rgb(183, 195, 48);
/* oklch */ color: oklch(78.3% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#d0d574',
    500: '#b7c330',
    950: '#000000',
  },
}
SCSS
$custom: #b7c330;
$custom-light: #d0d574;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c330",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 64.898,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78263,
    "c": 0.16165,
    "h": 114.3
  },
  "luminance": 0.49311
}

Semantic roles & 50–950 ramp

primary
#B7C330
secondary
#8882CC
accent
#44E451
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C330

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

Preview Lab → · Contrast checker → · Palette generator →

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