#27801F#27801F

#27801F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.156 H 141.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#27801F
RGBrgb(39, 128, 31)
HSLhsl(115, 61%, 31%)
HSVhsv(115, 76%, 50%)
CMYKcmyk(69.5%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.93, -45.04, 42.50)
CIE-LCHlch(46.93, 61.92, 136.66°)
OKLaboklab(52.77% -0.1227 0.0961)
OKLCHoklch(52.77% 0.156 141.9)
XYZxyz(8.8027, 15.9677, 3.9142)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27801F #781F80
analogous
#57801F #27801F #1F8047
triadic
#27801F #1F2780 #801F27
tetradic
#27801F #1F5780 #781F80 #80471F
square
#27801F #1F5780 #781F80 #80471F
split-complementary
#27801F #471F80 #801F57
monochromatic
#091D07 #184F13 #27801F #36B12B #52D247

Accessibility & contrast

On white

5.01
#27801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#27801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27801F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27801F#FFFFFF#000000##FFFFFF
##27801F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#137C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #27801f;
/* rgb */ color: rgb(39, 128, 31);
/* oklch */ color: oklch(52.8% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa661',
    500: '#27801f',
    950: '#000000',
  },
}
SCSS
$custom: #27801f;
$custom-light: #6fa661;
$custom-dark: #000000;
JSON
{
  "hex": "#27801f",
  "rgb": {
    "r": 39,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 115.052,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.15589,
    "h": 141.9
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#27801F
secondary
#AA48B3
accent
#44E4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #27801F

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

Preview Lab → · Contrast checker → · Palette generator →

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