#B7D02C#B7D02C

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

Color values

HEX#B7D02C
RGBrgb(183, 208, 44)
HSLhsl(69, 65%, 49%)
HSVhsv(69, 79%, 82%)
CMYKcmyk(12%, 0%, 78.8%, 18.4%)
CIE-LABlab(79.25, -28.09, 71.56)
CIE-LCHlch(79.25, 76.88, 111.43°)
OKLaboklab(81.15% -0.0846 0.1562)
OKLCHoklch(81.15% 0.178 118.4)
XYZxyz(42.5399, 55.3613, 10.8272)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D02C #452CD0
analogous
#D0972C #B7D02C #65D02C
triadic
#B7D02C #2CB7D0 #D02CB7
tetradic
#B7D02C #2CD097 #452CD0 #D02C65
square
#B7D02C #2CD097 #452CD0 #D02C65
split-complementary
#B7D02C #2C65D0 #972CD0
monochromatic
#5E6B17 #8B9D21 #B7D02C #C9DD5D #DAE78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7D02C#FFFFFF#000000##000000
##B7D02C1.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: #b7d02c;
/* rgb */ color: rgb(183, 208, 44);
/* oklch */ color: oklch(81.2% 0.178 118.4);
Tailwind
colors: {
  custom: {
    50: '#d1de74',
    500: '#b7d02c',
    950: '#000000',
  },
}
SCSS
$custom: #b7d02c;
$custom-light: #d1de74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d02c",
  "rgb": {
    "r": 183,
    "g": 208,
    "b": 44
  },
  "hsl": {
    "h": 69.146,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81153,
    "c": 0.17759,
    "h": 118.4
  },
  "luminance": 0.55361
}

Semantic roles & 50–950 ramp

primary
#B7D02C
secondary
#372C75
accent
#40E859
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B7D02C

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

Preview Lab → · Contrast checker → · Palette generator →

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