#B8D02C#B8D02C

#B8D02C is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.2% C 0.177 H 118.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#B8D02C
RGBrgb(184, 208, 44)
HSLhsl(69, 65%, 49%)
HSVhsv(69, 79%, 82%)
CMYKcmyk(11.5%, 0%, 78.8%, 18.4%)
CIE-LABlab(79.32, -27.68, 71.65)
CIE-LCHlch(79.32, 76.82, 111.12°)
OKLaboklab(81.23% -0.0835 0.1563)
OKLCHoklch(81.23% 0.177 118.1)
XYZxyz(42.7787, 55.4844, 10.8384)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D02C #442CD0
analogous
#D0962C #B8D02C #66D02C
triadic
#B8D02C #2CB8D0 #D02CB8
tetradic
#B8D02C #2CD096 #442CD0 #D02C66
square
#B8D02C #2CD096 #442CD0 #D02C66
split-complementary
#B8D02C #2C66D0 #962CD0
monochromatic
#5F6B17 #8B9D21 #B8D02C #CADD5D #DAE78F

Accessibility & contrast

On white

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

On black

12.10
#B8D02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D02C
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D02C#FFFFFF#000000##000000
##B8D02C1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8d02c;
/* rgb */ color: rgb(184, 208, 44);
/* oklch */ color: oklch(81.2% 0.177 118.1);
Tailwind
colors: {
  custom: {
    50: '#d1de74',
    500: '#b8d02c',
    950: '#000000',
  },
}
SCSS
$custom: #b8d02c;
$custom-light: #d1de74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d02c",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 44
  },
  "hsl": {
    "h": 68.78,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81228,
    "c": 0.17722,
    "h": 118.1
  },
  "luminance": 0.55484
}

Semantic roles & 50–950 ramp

primary
#B8D02C
secondary
#362C75
accent
#40E858
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B8D02C

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

Preview Lab → · Contrast checker → · Palette generator →

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