#B7C02E#B7C02E

#B7C02E is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.160 H 113.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B7C02E
RGBrgb(183, 192, 46)
HSLhsl(64, 61%, 47%)
HSVhsv(64, 76%, 75%)
CMYKcmyk(4.7%, 0%, 76%, 24.7%)
CIE-LABlab(74.80, -20.25, 66.94)
CIE-LCHlch(74.80, 69.94, 106.83°)
OKLaboklab(77.58% -0.0628 0.1467)
OKLCHoklch(77.58% 0.16 113.2)
XYZxyz(38.8725, 47.9647, 9.7946)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C02E #372EC0
analogous
#C0802E #B7C02E #6EC02E
triadic
#B7C02E #2EB7C0 #C02EB7
tetradic
#B7C02E #2EC080 #372EC0 #C02E6E
square
#B7C02E #2EC080 #372EC0 #C02E6E
split-complementary
#B7C02E #2E6EC0 #802EC0
monochromatic
#595D16 #888F22 #B7C02E #CED655 #DCE286

Accessibility & contrast

On white

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

On black

10.59
#B7C02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C02E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C02E#FFFFFF#000000##000000
##B7C02E1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB705
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#C4B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7c02e;
/* rgb */ color: rgb(183, 192, 46);
/* oklch */ color: oklch(77.6% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d273',
    500: '#b7c02e',
    950: '#000000',
  },
}
SCSS
$custom: #b7c02e;
$custom-light: #d0d273;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c02e",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 63.699,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77584,
    "c": 0.15955,
    "h": 113.2
  },
  "luminance": 0.47964
}

Semantic roles & 50–950 ramp

primary
#B7C02E
secondary
#837ECC
accent
#43E44D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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