#7DBA31#7DBA31

#7DBA31 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.1% C 0.176 H 130.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7DBA31
RGBrgb(125, 186, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 74%, 73%)
CMYKcmyk(32.8%, 0%, 73.7%, 27.1%)
CIE-LABlab(69.25, -40.54, 59.33)
CIE-LCHlch(69.25, 71.86, 124.35°)
OKLaboklab(72.13% -0.1149 0.1327)
OKLCHoklch(72.13% 0.176 130.9)
XYZxyz(26.5705, 39.6986, 9.1678)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DBA31 #6E31BA
analogous
#BAB231 #7DBA31 #39BA31
triadic
#7DBA31 #317DBA #BA317D
tetradic
#7DBA31 #31BAB2 #6E31BA #BA3139
square
#7DBA31 #31BAB2 #6E31BA #BA3139
split-complementary
#7DBA31 #3139BA #B231BA
monochromatic
#3C5917 #5C8A24 #7DBA31 #9BD256 #B8DF86

Accessibility & contrast

On white

2.35
#7DBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#7DBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DBA31
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DBA31#FFFFFF#000000##000000
##7DBA311.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#80B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7dba31;
/* rgb */ color: rgb(125, 186, 49);
/* oklch */ color: oklch(72.1% 0.176 130.9);
Tailwind
colors: {
  custom: {
    50: '#a7cf73',
    500: '#7dba31',
    950: '#000000',
  },
}
SCSS
$custom: #7dba31;
$custom-light: #a7cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#7dba31",
  "rgb": {
    "r": 125,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 86.715,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72129,
    "c": 0.17557,
    "h": 130.9
  },
  "luminance": 0.397
}

Semantic roles & 50–950 ramp

primary
#7DBA31
secondary
#9F7EC9
accent
#46E28B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7DBA31

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

Preview Lab → · Contrast checker → · Palette generator →

#7DBA31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva