#28931F#28931F

#28931F is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.1% C 0.178 H 142.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#28931F
RGBrgb(40, 147, 31)
HSLhsl(115, 65%, 35%)
HSVhsv(115, 79%, 58%)
CMYKcmyk(72.8%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.40, -51.45, 48.90)
CIE-LCHlch(53.40, 70.98, 136.45°)
OKLaboklab(58.14% -0.1401 0.1095)
OKLCHoklch(58.14% 0.178 142)
XYZxyz(11.5554, 21.4162, 4.8208)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28931F #8A1F93
analogous
#62931F #28931F #1F9350
triadic
#28931F #1F2893 #931F28
tetradic
#28931F #1F6293 #8A1F93 #93501F
square
#28931F #1F6293 #8A1F93 #93501F
split-complementary
#28931F #501F93 #931F62
monochromatic
#0C2E0A #1A6014 #28931F #36C62A #5DDA52

Accessibility & contrast

On white

3.97
#28931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#28931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28931F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28931F#FFFFFF#000000##000000
##28931F1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#068E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #28931f;
/* rgb */ color: rgb(40, 147, 31);
/* oklch */ color: oklch(58.1% 0.178 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b464',
    500: '#28931f',
    950: '#000000',
  },
}
SCSS
$custom: #28931f;
$custom-light: #74b464;
$custom-dark: #000000;
JSON
{
  "hex": "#28931f",
  "rgb": {
    "r": 40,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 115.345,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.17781,
    "h": 142
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#28931F
secondary
#B550BE
accent
#40E8DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28931F

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

Preview Lab → · Contrast checker → · Palette generator →

#28931F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva