#B7DA42#B7DA42

#B7DA42 is a very light, vivid yellow-green. Relative luminance 0.606; OKLCH L 83.5% C 0.177 H 121.7°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#B7DA42
RGBrgb(183, 218, 66)
HSLhsl(74, 67%, 56%)
HSVhsv(74, 70%, 85%)
CMYKcmyk(16.1%, 0%, 69.7%, 14.5%)
CIE-LABlab(82.17, -31.75, 67.24)
CIE-LCHlch(82.17, 74.36, 115.28°)
OKLaboklab(83.54% -0.0929 0.1506)
OKLCHoklch(83.54% 0.177 121.7)
XYZxyz(45.5839, 60.6034, 14.4494)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DA42 #6542DA
analogous
#DAB142 #B7DA42 #6BDA42
triadic
#B7DA42 #42B7DA #DA42B7
tetradic
#B7DA42 #42DAB1 #6542DA #DA426B
square
#B7DA42 #42DAB1 #6542DA #DA426B
split-complementary
#B7DA42 #426BDA #B142DA
monochromatic
#6E871A #98BA24 #B7DA42 #CAE475 #DEEEA8

Accessibility & contrast

On white

1.60
#B7DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#B7DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DA42
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DA42#FFFFFF#000000##000000
##B7DA421.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E3CC4F
Tritanopia (blue-blind)
#C1CFBC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b7da42;
/* rgb */ color: rgb(183, 218, 66);
/* oklch */ color: oklch(83.5% 0.177 121.7);
Tailwind
colors: {
  custom: {
    50: '#d0e57f',
    500: '#b7da42',
    950: '#000000',
  },
}
SCSS
$custom: #b7da42;
$custom-light: #d0e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7da42",
  "rgb": {
    "r": 183,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 73.816,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83541,
    "c": 0.17695,
    "h": 121.7
  },
  "luminance": 0.60603
}

Semantic roles & 50–950 ramp

primary
#B7DA42
secondary
#48338D
accent
#3EEA65
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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