#274E17#274E17

#274E17 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.2% C 0.095 H 137.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#274E17
RGBrgb(39, 78, 23)
HSLhsl(103, 54%, 20%)
HSVhsv(103, 71%, 31%)
CMYKcmyk(50%, 0%, 70.5%, 69.4%)
CIE-LABlab(29.26, -25.41, 27.46)
CIE-LCHlch(29.26, 37.41, 132.78°)
OKLaboklab(38.17% -0.0701 0.0635)
OKLCHoklch(38.17% 0.095 137.9)
XYZxyz(3.7156, 5.9417, 1.7615)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E17 #3E174E
analogous
#434E17 #274E17 #174E22
triadic
#274E17 #17274E #4E1727
tetradic
#274E17 #17434E #3E174E #4E2217
square
#274E17 #17434E #3E174E #4E2217
split-complementary
#274E17 #22174E #4E1743
monochromatic
#0C1807 #0F1F09 #274E17 #3F7D25 #56AD33

Accessibility & contrast

On white

9.60
#274E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#274E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E17
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E17#FFFFFF#000000##FFFFFF
##274E171.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#4B441C
Tritanopia (blue-blind)
#254B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274e17;
/* rgb */ color: rgb(39, 78, 23);
/* oklch */ color: oklch(38.2% 0.095 137.9);
Tailwind
colors: {
  custom: {
    50: '#658057',
    500: '#274e17',
    950: '#000000',
  },
}
SCSS
$custom: #274e17;
$custom-light: #658057;
$custom-dark: #000000;
JSON
{
  "hex": "#274e17",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 102.545,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38168,
    "c": 0.09457,
    "h": 137.9
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#274E17
secondary
#703C85
accent
#4ADEB3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274E17

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

Preview Lab → · Contrast checker → · Palette generator →

#274E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva