#B8D03B#B8D03B

#B8D03B is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.3% C 0.169 H 118.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#B8D03B
RGBrgb(184, 208, 59)
HSLhsl(70, 61%, 52%)
HSVhsv(70, 72%, 82%)
CMYKcmyk(11.5%, 0%, 71.6%, 18.4%)
CIE-LABlab(79.40, -27.02, 67.01)
CIE-LCHlch(79.40, 72.25, 111.96°)
OKLaboklab(81.31% -0.0805 0.149)
OKLCHoklch(81.31% 0.169 118.4)
XYZxyz(43.1134, 55.6182, 12.6010)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D03B #533BD0
analogous
#D09D3B #B8D03B #6ED03B
triadic
#B8D03B #3BB8D0 #D03BB8
tetradic
#B8D03B #3BD09D #533BD0 #D03B6E
square
#B8D03B #3BD09D #533BD0 #D03B6E
split-complementary
#B8D03B #3B6ED0 #9D3BD0
monochromatic
#66751C #92A628 #B8D03B #CADC6C #DCE89E

Accessibility & contrast

On white

1.73
#B8D03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#B8D03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D03B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D03B#FFFFFF#000000##000000
##B8D03B1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51F
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#C3C5B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b8d03b;
/* rgb */ color: rgb(184, 208, 59);
/* oklch */ color: oklch(81.3% 0.169 118.4);
Tailwind
colors: {
  custom: {
    50: '#d1de7b',
    500: '#b8d03b',
    950: '#000000',
  },
}
SCSS
$custom: #b8d03b;
$custom-light: #d1de7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d03b",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 69.664,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81314,
    "c": 0.16935,
    "h": 118.4
  },
  "luminance": 0.55618
}

Semantic roles & 50–950 ramp

primary
#B8D03B
secondary
#3E327D
accent
#43E45D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8D03B

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

Preview Lab → · Contrast checker → · Palette generator →

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