#B8D235#B8D235

#B8D235 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.7% C 0.175 H 118.8°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#B8D235
RGBrgb(184, 210, 53)
HSLhsl(70, 64%, 52%)
HSVhsv(70, 75%, 82%)
CMYKcmyk(12.4%, 0%, 74.8%, 17.6%)
CIE-LABlab(79.92, -28.26, 69.51)
CIE-LCHlch(79.92, 75.04, 112.12°)
OKLaboklab(81.73% -0.0844 0.1533)
OKLCHoklch(81.73% 0.175 118.8)
XYZxyz(43.4573, 56.5409, 11.9916)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D235 #4F35D2
analogous
#D29E35 #B8D235 #6AD235
triadic
#B8D235 #35B8D2 #D235B8
tetradic
#B8D235 #35D29E #4F35D2 #D2356A
square
#B8D235 #35D29E #4F35D2 #D2356A
split-complementary
#B8D235 #356AD2 #9E35D2
monochromatic
#64731A #90A525 #B8D235 #CADD67 #DBE899

Accessibility & contrast

On white

1.71
#B8D235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#B8D235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D235
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D235#FFFFFF#000000##000000
##B8D2351.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C60F
Deuteranopia (green-blind)
#DDC743
Tritanopia (blue-blind)
#C3C6B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b8d235;
/* rgb */ color: rgb(184, 210, 53);
/* oklch */ color: oklch(81.7% 0.175 118.8);
Tailwind
colors: {
  custom: {
    50: '#d1df78',
    500: '#b8d235',
    950: '#000000',
  },
}
SCSS
$custom: #b8d235;
$custom-light: #d1df78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d235",
  "rgb": {
    "r": 184,
    "g": 210,
    "b": 53
  },
  "hsl": {
    "h": 69.936,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81725,
    "c": 0.17499,
    "h": 118.8
  },
  "luminance": 0.56541
}

Semantic roles & 50–950 ramp

primary
#B8D235
secondary
#3C307C
accent
#41E75D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8D235

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

Preview Lab → · Contrast checker → · Palette generator →

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