#274E18#274E18

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

Color values

HEX#274E18
RGBrgb(39, 78, 24)
HSLhsl(103, 53%, 20%)
HSVhsv(103, 69%, 31%)
CMYKcmyk(50%, 0%, 69.2%, 69.4%)
CIE-LABlab(29.28, -25.30, 26.97)
CIE-LCHlch(29.28, 36.98, 133.18°)
OKLaboklab(38.18% -0.0697 0.0625)
OKLCHoklch(38.18% 0.094 138.1)
XYZxyz(3.7258, 5.9458, 1.8153)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E18 #3F184E
analogous
#424E18 #274E18 #184E24
triadic
#274E18 #18274E #4E1827
tetradic
#274E18 #18424E #3F184E #4E2418
square
#274E18 #18424E #3F184E #4E2418
split-complementary
#274E18 #24184E #4E1842
monochromatic
#0C1707 #101F0A #274E18 #3E7D26 #56AC35

Accessibility & contrast

On white

9.59
#274E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E18
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E18#FFFFFF#000000##FFFFFF
##274E181.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274e18;
/* rgb */ color: rgb(39, 78, 24);
/* oklch */ color: oklch(38.2% 0.094 138.1);
Tailwind
colors: {
  custom: {
    50: '#658057',
    500: '#274e18',
    950: '#000000',
  },
}
SCSS
$custom: #274e18;
$custom-light: #658057;
$custom-dark: #000000;
JSON
{
  "hex": "#274e18",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 103.333,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.09367,
    "h": 138.1
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#274E18
secondary
#713D85
accent
#4BDCB4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274E18

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

Preview Lab → · Contrast checker → · Palette generator →

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