#27931F#27931F

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

Color values

HEX#27931F
RGBrgb(39, 147, 31)
HSLhsl(116, 65%, 35%)
HSVhsv(116, 79%, 58%)
CMYKcmyk(73.5%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.38, -51.63, 48.88)
CIE-LCHlch(53.38, 71.10, 136.57°)
OKLaboklab(58.12% -0.1406 0.1094)
OKLCHoklch(58.12% 0.178 142.1)
XYZxyz(11.5171, 21.3964, 4.8190)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27931F #8B1F93
analogous
#61931F #27931F #1F9351
triadic
#27931F #1F2793 #931F27
tetradic
#27931F #1F6193 #8B1F93 #93511F
square
#27931F #1F6193 #8B1F93 #93511F
split-complementary
#27931F #511F93 #931F61
monochromatic
#0C2E0A #1A6014 #27931F #34C62A #5BDA52

Accessibility & contrast

On white

3.98
#27931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##27931F#FFFFFF#000000##000000
##27931F1.003.985.285.28
#FFFFFF3.981.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)
#028E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #27931f;
/* rgb */ color: rgb(39, 147, 31);
/* oklch */ color: oklch(58.1% 0.178 142.1);
Tailwind
colors: {
  custom: {
    50: '#73b464',
    500: '#27931f',
    950: '#000000',
  },
}
SCSS
$custom: #27931f;
$custom-light: #73b464;
$custom-dark: #000000;
JSON
{
  "hex": "#27931f",
  "rgb": {
    "r": 39,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 115.862,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.17813,
    "h": 142.1
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#27931F
secondary
#B650BE
accent
#40E8DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #27931F

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

Preview Lab → · Contrast checker → · Palette generator →

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