#7DBF31#7DBF31

#7DBF31 is a light, vivid yellow-green. Relative luminance 0.418; OKLCH L 73.4% C 0.182 H 131.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7DBF31
RGBrgb(125, 191, 49)
HSLhsl(88, 59%, 47%)
HSVhsv(88, 74%, 75%)
CMYKcmyk(34.6%, 0%, 74.3%, 25.1%)
CIE-LABlab(70.76, -42.70, 60.81)
CIE-LCHlch(70.76, 74.30, 125.08°)
OKLaboklab(73.36% -0.1208 0.1358)
OKLCHoklch(73.36% 0.182 131.7)
XYZxyz(27.6423, 41.8423, 9.5251)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DBF31 #7331BF
analogous
#BFBA31 #7DBF31 #36BF31
triadic
#7DBF31 #317DBF #BF317D
tetradic
#7DBF31 #31BFBA #7331BF #BF3136
square
#7DBF31 #31BFBA #7331BF #BF3136
split-complementary
#7DBF31 #3136BF #BA31BF
monochromatic
#3D5E18 #5D8E25 #7DBF31 #9BD459 #B8E18A

Accessibility & contrast

On white

2.24
#7DBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#7DBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DBF31
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DBF31#FFFFFF#000000##000000
##7DBF311.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B013
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#7FB7A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7dbf31;
/* rgb */ color: rgb(125, 191, 49);
/* oklch */ color: oklch(73.4% 0.182 131.7);
Tailwind
colors: {
  custom: {
    50: '#a8d273',
    500: '#7dbf31',
    950: '#000000',
  },
}
SCSS
$custom: #7dbf31;
$custom-light: #a8d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7dbf31",
  "rgb": {
    "r": 125,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 87.887,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73358,
    "c": 0.18175,
    "h": 131.7
  },
  "luminance": 0.41843
}

Semantic roles & 50–950 ramp

primary
#7DBF31
secondary
#A381CB
accent
#45E28E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7DBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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