#B7C02B#B7C02B

#B7C02B 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#B7C02B
RGBrgb(183, 192, 43)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 78%, 75%)
CMYKcmyk(4.7%, 0%, 77.6%, 24.7%)
CIE-LABlab(74.79, -20.37, 67.84)
CIE-LCHlch(74.79, 70.84, 106.71°)
OKLaboklab(77.57% -0.0634 0.148)
OKLCHoklch(77.57% 0.161 113.2)
XYZxyz(38.8154, 47.9418, 9.4940)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C02B #342BC0
analogous
#C07E2B #B7C02B #6CC02B
triadic
#B7C02B #2BB7C0 #C02BB7
tetradic
#B7C02B #2BC07E #342BC0 #C02B6C
square
#B7C02B #2BC07E #342BC0 #C02B6C
split-complementary
#B7C02B #2B6CC0 #7E2BC0
monochromatic
#585C15 #878E20 #B7C02B #D0D850 #DDE382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C02B#FFFFFF#000000##000000
##B7C02B1.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: #b7c02b;
/* rgb */ color: rgb(183, 192, 43);
/* oklch */ color: oklch(77.6% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d271',
    500: '#b7c02b',
    950: '#000000',
  },
}
SCSS
$custom: #b7c02b;
$custom-light: #d0d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c02b",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 63.624,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77568,
    "c": 0.16105,
    "h": 113.2
  },
  "luminance": 0.47941
}

Semantic roles & 50–950 ramp

primary
#B7C02B
secondary
#807BCC
accent
#41E64B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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