#274F2F#274F2F

#274F2F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.071 H 148.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#274F2F
RGBrgb(39, 79, 47)
HSLhsl(132, 34%, 23%)
HSVhsv(132, 51%, 31%)
CMYKcmyk(50.6%, 0%, 40.5%, 69%)
CIE-LABlab(29.98, -22.19, 14.66)
CIE-LCHlch(29.98, 26.60, 146.56°)
OKLaboklab(38.87% -0.0603 0.0366)
OKLCHoklch(38.87% 0.071 148.8)
XYZxyz(4.1455, 6.2282, 3.6725)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F2F #4F2747
analogous
#334F27 #274F2F #274F43
triadic
#274F2F #2F274F #4F2F27
tetradic
#274F2F #27334F #4F2747 #4F4327
square
#274F2F #27334F #4F2747 #4F4327
split-complementary
#274F2F #43274F #4F2733
monochromatic
#0A140C #132617 #274F2F #3B7847 #4FA160

Accessibility & contrast

On white

9.35
#274F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#274F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F2F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F2F#FFFFFF#000000##FFFFFF
##274F2F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274f2f;
/* rgb */ color: rgb(39, 79, 47);
/* oklch */ color: oklch(38.9% 0.071 148.8);
Tailwind
colors: {
  custom: {
    50: '#648067',
    500: '#274f2f',
    950: '#000000',
  },
}
SCSS
$custom: #274f2f;
$custom-light: #648067;
$custom-dark: #000000;
JSON
{
  "hex": "#274f2f",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 33.898,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3887,
    "c": 0.07057,
    "h": 148.8
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#274F2F
secondary
#825078
accent
#5EB4CA
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A06
muted
#7A7C7A

Preview Lab

Preview with #274F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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