#B7C02C#B7C02C

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

Color values

HEX#B7C02C
RGBrgb(183, 192, 44)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(4.7%, 0%, 77.1%, 24.7%)
CIE-LABlab(74.79, -20.33, 67.55)
CIE-LCHlch(74.79, 70.54, 106.75°)
OKLaboklab(77.57% -0.0632 0.1476)
OKLCHoklch(77.57% 0.161 113.2)
XYZxyz(38.8340, 47.9493, 9.5918)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C02C #352CC0
analogous
#C07F2C #B7C02C #6DC02C
triadic
#B7C02C #2CB7C0 #C02CB7
tetradic
#B7C02C #2CC07F #352CC0 #C02C6D
square
#B7C02C #2CC07F #352CC0 #C02C6D
split-complementary
#B7C02C #2C6DC0 #7F2CC0
monochromatic
#585C15 #888E21 #B7C02C #CFD752 #DDE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C02C#FFFFFF#000000##000000
##B7C02C1.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)
#CFB700
Deuteranopia (green-blind)
#CFBA39
Tritanopia (blue-blind)
#C4B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7c02c;
/* rgb */ color: rgb(183, 192, 44);
/* oklch */ color: oklch(77.6% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d272',
    500: '#b7c02c',
    950: '#000000',
  },
}
SCSS
$custom: #b7c02c;
$custom-light: #d0d272;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c02c",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 63.649,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77573,
    "c": 0.16056,
    "h": 113.2
  },
  "luminance": 0.47948
}

Semantic roles & 50–950 ramp

primary
#B7C02C
secondary
#817CCC
accent
#42E64C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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