#7DB238#7DB238

#7DB238 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.2% C 0.161 H 130.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7DB238
RGBrgb(125, 178, 56)
HSLhsl(86, 52%, 46%)
HSVhsv(86, 69%, 70%)
CMYKcmyk(29.8%, 0%, 68.5%, 30.2%)
CIE-LABlab(66.89, -36.53, 54.33)
CIE-LCHlch(66.89, 65.47, 123.92°)
OKLaboklab(70.22% -0.1034 0.1233)
OKLCHoklch(70.22% 0.161 130)
XYZxyz(25.0915, 36.4856, 9.4610)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB238 #6D38B2
analogous
#B2AA38 #7DB238 #40B238
triadic
#7DB238 #387DB2 #B2387D
tetradic
#7DB238 #38B2AA #6D38B2 #B23840
square
#7DB238 #38B2AA #6D38B2 #B23840
split-complementary
#7DB238 #3840B2 #AA38B2
monochromatic
#3C551B #5C8329 #7DB238 #9BCC5C #B7DA8A

Accessibility & contrast

On white

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

On black

8.30
#7DB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB238
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB238#FFFFFF#000000##000000
##7DB2381.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B3A142
Tritanopia (blue-blind)
#80AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7db238;
/* rgb */ color: rgb(125, 178, 56);
/* oklch */ color: oklch(70.2% 0.161 130.0);
Tailwind
colors: {
  custom: {
    50: '#a6c975',
    500: '#7db238',
    950: '#000000',
  },
}
SCSS
$custom: #7db238;
$custom-light: #a6c975;
$custom-dark: #000000;
JSON
{
  "hex": "#7db238",
  "rgb": {
    "r": 125,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 86.066,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.16091,
    "h": 130
  },
  "luminance": 0.36486
}

Semantic roles & 50–950 ramp

primary
#7DB238
secondary
#9E81C5
accent
#4CDC8B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7DB238

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

Preview Lab → · Contrast checker → · Palette generator →

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