#274C17#274C17

#274C17 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.092 H 137.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#274C17
RGBrgb(39, 76, 23)
HSLhsl(102, 54%, 19%)
HSVhsv(102, 70%, 30%)
CMYKcmyk(48.7%, 0%, 69.7%, 70.2%)
CIE-LABlab(28.54, -24.46, 26.67)
CIE-LCHlch(28.54, 36.18, 132.53°)
OKLaboklab(37.58% -0.0675 0.0618)
OKLCHoklch(37.58% 0.092 137.6)
XYZxyz(3.5757, 5.6619, 1.7149)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C17 #3C174C
analogous
#424C17 #274C17 #174C22
triadic
#274C17 #17274C #4C1727
tetradic
#274C17 #17424C #3C174C #4C2217
square
#274C17 #17424C #3C174C #4C2217
split-complementary
#274C17 #22174C #4C1742
monochromatic
#0C1707 #0F1D09 #274C17 #3F7B25 #57AA33

Accessibility & contrast

On white

9.85
#274C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#274C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C17
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C17#FFFFFF#000000##FFFFFF
##274C171.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4511
Deuteranopia (green-blind)
#4A421B
Tritanopia (blue-blind)
#254941
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274c17;
/* rgb */ color: rgb(39, 76, 23);
/* oklch */ color: oklch(37.6% 0.092 137.6);
Tailwind
colors: {
  custom: {
    50: '#657e57',
    500: '#274c17',
    950: '#000000',
  },
}
SCSS
$custom: #274c17;
$custom-light: #657e57;
$custom-dark: #000000;
JSON
{
  "hex": "#274c17",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 101.887,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.09152,
    "h": 137.6
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#274C17
secondary
#6E3C83
accent
#4BDDB1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274C17

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

Preview Lab → · Contrast checker → · Palette generator →

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