#7DB331#7DB331

#7DB331 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.4% C 0.167 H 129.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7DB331
RGBrgb(125, 179, 49)
HSLhsl(85, 57%, 45%)
HSVhsv(85, 73%, 70%)
CMYKcmyk(30.2%, 0%, 72.6%, 29.8%)
CIE-LABlab(67.14, -37.45, 57.25)
CIE-LCHlch(67.14, 68.41, 123.19°)
OKLaboklab(70.41% -0.1065 0.1283)
OKLCHoklch(70.41% 0.167 129.7)
XYZxyz(25.1318, 36.8212, 8.6882)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB331 #6731B3
analogous
#B3A831 #7DB331 #3CB331
triadic
#7DB331 #317DB3 #B3317D
tetradic
#7DB331 #31B3A8 #6731B3 #B3313C
square
#7DB331 #31B3A8 #6731B3 #B3313C
split-complementary
#7DB331 #313CB3 #A831B3
monochromatic
#3A5317 #5B8324 #7DB331 #9BD052 #B7DD82

Accessibility & contrast

On white

2.51
#7DB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7DB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB331
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB331#FFFFFF#000000##000000
##7DB3311.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#80AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7db331;
/* rgb */ color: rgb(125, 179, 49);
/* oklch */ color: oklch(70.4% 0.167 129.7);
Tailwind
colors: {
  custom: {
    50: '#a7ca72',
    500: '#7db331',
    950: '#000000',
  },
}
SCSS
$custom: #7db331;
$custom-light: #a7ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7db331",
  "rgb": {
    "r": 125,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 84.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70409,
    "c": 0.16679,
    "h": 129.7
  },
  "luminance": 0.36822
}

Semantic roles & 50–950 ramp

primary
#7DB331
secondary
#997AC6
accent
#48E087
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DB331

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

Preview Lab → · Contrast checker → · Palette generator →

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