#B7C42B#B7C42B

#B7C42B is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.165 H 114.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#B7C42B
RGBrgb(183, 196, 43)
HSLhsl(65, 64%, 47%)
HSVhsv(65, 78%, 77%)
CMYKcmyk(6.6%, 0%, 78.1%, 23.1%)
CIE-LABlab(75.90, -22.34, 68.84)
CIE-LCHlch(75.90, 72.38, 107.98°)
OKLaboklab(78.46% -0.0688 0.1502)
OKLCHoklch(78.46% 0.165 114.6)
XYZxyz(39.7056, 49.7223, 9.7908)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C42B #382BC4
analogous
#C4852B #B7C42B #6BC42B
triadic
#B7C42B #2BB7C4 #C42BB7
tetradic
#B7C42B #2BC485 #382BC4 #C42B6B
square
#B7C42B #2BC485 #382BC4 #C42B6B
split-complementary
#B7C42B #2B6BC4 #852BC4
monochromatic
#596015 #889220 #B7C42B #CED953 #DCE485

Accessibility & contrast

On white

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

On black

10.94
#B7C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C42B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C42B#FFFFFF#000000##000000
##B7C42B1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D2BC39
Tritanopia (blue-blind)
#C3B8A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c42b;
/* rgb */ color: rgb(183, 196, 43);
/* oklch */ color: oklch(78.5% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#d0d572',
    500: '#b7c42b',
    950: '#000000',
  },
}
SCSS
$custom: #b7c42b;
$custom-light: #d0d572;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c42b",
  "rgb": {
    "r": 183,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 65.098,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78459,
    "c": 0.1652,
    "h": 114.6
  },
  "luminance": 0.49722
}

Semantic roles & 50–950 ramp

primary
#B7C42B
secondary
#847DCE
accent
#41E74F
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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