#274F18#274F18

#274F18 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.095 H 138.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#274F18
RGBrgb(39, 79, 24)
HSLhsl(104, 53%, 20%)
HSVhsv(104, 70%, 31%)
CMYKcmyk(50.6%, 0%, 69.6%, 69%)
CIE-LABlab(29.64, -25.78, 27.37)
CIE-LCHlch(29.64, 37.59, 133.29°)
OKLaboklab(38.48% -0.071 0.0634)
OKLCHoklch(38.48% 0.095 138.3)
XYZxyz(3.7974, 6.0890, 1.8392)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F18 #40184F
analogous
#434F18 #274F18 #184F24
triadic
#274F18 #18274F #4F1827
tetradic
#274F18 #18434F #40184F #4F2418
square
#274F18 #18434F #40184F #4F2418
split-complementary
#274F18 #24184F #4F1843
monochromatic
#0C1707 #10200A #274F18 #3E7E26 #55AD35

Accessibility & contrast

On white

9.47
#274F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#274F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F18
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F18#FFFFFF#000000##FFFFFF
##274F181.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#244C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f18;
/* rgb */ color: rgb(39, 79, 24);
/* oklch */ color: oklch(38.5% 0.095 138.3);
Tailwind
colors: {
  custom: {
    50: '#658157',
    500: '#274f18',
    950: '#000000',
  },
}
SCSS
$custom: #274f18;
$custom-light: #658157;
$custom-dark: #000000;
JSON
{
  "hex": "#274f18",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 103.636,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.0952,
    "h": 138.3
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#274F18
secondary
#723D86
accent
#4BDDB5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274F18

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

Preview Lab → · Contrast checker → · Palette generator →

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