#B7D02B#B7D02B

#B7D02B is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.1% C 0.178 H 118.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#B7D02B
RGBrgb(183, 208, 43)
HSLhsl(69, 66%, 49%)
HSVhsv(69, 79%, 82%)
CMYKcmyk(12%, 0%, 79.3%, 18.4%)
CIE-LABlab(79.24, -28.13, 71.84)
CIE-LCHlch(79.24, 77.15, 111.38°)
OKLaboklab(81.15% -0.0848 0.1566)
OKLCHoklch(81.15% 0.178 118.4)
XYZxyz(42.5214, 55.3538, 10.7294)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D02B #442BD0
analogous
#D0972B #B7D02B #65D02B
triadic
#B7D02B #2BB7D0 #D02BB7
tetradic
#B7D02B #2BD097 #442BD0 #D02B65
square
#B7D02B #2BD097 #442BD0 #D02B65
split-complementary
#B7D02B #2B65D0 #972BD0
monochromatic
#5E6B16 #8A9D21 #B7D02B #C9DD5B #DAE88E

Accessibility & contrast

On white

1.74
#B7D02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#B7D02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D02B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D02B#FFFFFF#000000##000000
##B7D02B1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DBC53C
Tritanopia (blue-blind)
#C2C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7d02b;
/* rgb */ color: rgb(183, 208, 43);
/* oklch */ color: oklch(81.1% 0.178 118.4);
Tailwind
colors: {
  custom: {
    50: '#d1de74',
    500: '#b7d02b',
    950: '#000000',
  },
}
SCSS
$custom: #b7d02b;
$custom-light: #d1de74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d02b",
  "rgb": {
    "r": 183,
    "g": 208,
    "b": 43
  },
  "hsl": {
    "h": 69.091,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81148,
    "c": 0.17805,
    "h": 118.4
  },
  "luminance": 0.55353
}

Semantic roles & 50–950 ramp

primary
#B7D02B
secondary
#362B74
accent
#3FE959
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B7D02B

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

Preview Lab → · Contrast checker → · Palette generator →

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