#B7C03A#B7C03A

#B7C03A is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.7% C 0.153 H 113.2°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#B7C03A
RGBrgb(183, 192, 58)
HSLhsl(64, 54%, 49%)
HSVhsv(64, 70%, 75%)
CMYKcmyk(4.7%, 0%, 69.8%, 24.7%)
CIE-LABlab(74.87, -19.69, 62.91)
CIE-LCHlch(74.87, 65.92, 107.38°)
OKLaboklab(77.66% -0.0602 0.1402)
OKLCHoklch(77.66% 0.153 113.2)
XYZxyz(39.1429, 48.0729, 11.2192)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C03A #433AC0
analogous
#C0863A #B7C03A #74C03A
triadic
#B7C03A #3AB7C0 #C03AB7
tetradic
#B7C03A #3AC086 #433AC0 #C03A74
square
#B7C03A #3AC086 #433AC0 #C03A74
split-complementary
#B7C03A #3A74C0 #863AC0
monochromatic
#5D621E #8A912C #B7C03A #CAD166 #DADF95

Accessibility & contrast

On white

1.98
#B7C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#B7C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C03A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C03A#FFFFFF#000000##000000
##B7C03A1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB724
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7c03a;
/* rgb */ color: rgb(183, 192, 58);
/* oklch */ color: oklch(77.7% 0.153 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d279',
    500: '#b7c03a',
    950: '#000000',
  },
}
SCSS
$custom: #b7c03a;
$custom-light: #d0d279;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c03a",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 64.03,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77661,
    "c": 0.15258,
    "h": 113.2
  },
  "luminance": 0.48072
}

Semantic roles & 50–950 ramp

primary
#B7C03A
secondary
#908BCA
accent
#4BDD55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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