#7DB231#7DB231

#7DB231 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.166 H 129.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7DB231
RGBrgb(125, 178, 49)
HSLhsl(85, 57%, 45%)
HSVhsv(85, 72%, 70%)
CMYKcmyk(29.8%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.84, -37.00, 56.95)
CIE-LCHlch(66.84, 67.91, 123.02°)
OKLaboklab(70.16% -0.1053 0.1277)
OKLCHoklch(70.16% 0.166 129.5)
XYZxyz(24.9321, 36.4218, 8.6217)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB231 #6631B2
analogous
#B2A731 #7DB231 #3DB231
triadic
#7DB231 #317DB2 #B2317D
tetradic
#7DB231 #31B2A7 #6631B2 #B2313D
square
#7DB231 #31B2A7 #6631B2 #B2313D
split-complementary
#7DB231 #313DB2 #A731B2
monochromatic
#3A5217 #5B8224 #7DB231 #9BCF51 #B7DC81

Accessibility & contrast

On white

2.53
#7DB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7DB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB231
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB231#FFFFFF#000000##000000
##7DB2311.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#81AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7db231;
/* rgb */ color: rgb(125, 178, 49);
/* oklch */ color: oklch(70.2% 0.166 129.5);
Tailwind
colors: {
  custom: {
    50: '#a7c972',
    500: '#7db231',
    950: '#000000',
  },
}
SCSS
$custom: #7db231;
$custom-light: #a7c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7db231",
  "rgb": {
    "r": 125,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 84.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70164,
    "c": 0.16553,
    "h": 129.5
  },
  "luminance": 0.36423
}

Semantic roles & 50–950 ramp

primary
#7DB231
secondary
#9979C5
accent
#48E086
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DB231

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

Preview Lab → · Contrast checker → · Palette generator →

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