#274F2E#274F2E

#274F2E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.072 H 148.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#274F2E
RGBrgb(39, 79, 46)
HSLhsl(131, 34%, 23%)
HSVhsv(131, 51%, 31%)
CMYKcmyk(50.6%, 0%, 41.8%, 69%)
CIE-LABlab(29.96, -22.39, 15.25)
CIE-LCHlch(29.96, 27.09, 145.75°)
OKLaboklab(38.85% -0.0609 0.038)
OKLCHoklch(38.85% 0.072 148.1)
XYZxyz(4.1256, 6.2203, 3.5675)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F2E #4F2748
analogous
#344F27 #274F2E #274F42
triadic
#274F2E #2E274F #4F2E27
tetradic
#274F2E #27344F #4F2748 #4F4227
square
#274F2E #27344F #4F2748 #4F4227
split-complementary
#274F2E #42274F #4F2734
monochromatic
#0A140C #132616 #274F2E #3B7846 #4FA15E

Accessibility & contrast

On white

9.36
#274F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#274F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F2E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F2E#FFFFFF#000000##FFFFFF
##274F2E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#204E47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274f2e;
/* rgb */ color: rgb(39, 79, 46);
/* oklch */ color: oklch(38.8% 0.072 148.1);
Tailwind
colors: {
  custom: {
    50: '#648067',
    500: '#274f2e',
    950: '#000000',
  },
}
SCSS
$custom: #274f2e;
$custom-light: #648067;
$custom-dark: #000000;
JSON
{
  "hex": "#274f2e",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 130.5,
    "s": 33.898,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.07173,
    "h": 148.1
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#274F2E
secondary
#825079
accent
#5EB7CA
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A06
muted
#7A7C7A

Preview Lab

Preview with #274F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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