#274F17#274F17

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

Color values

HEX#274F17
RGBrgb(39, 79, 23)
HSLhsl(103, 55%, 20%)
HSVhsv(103, 71%, 31%)
CMYKcmyk(50.6%, 0%, 70.9%, 69%)
CIE-LABlab(29.63, -25.89, 27.85)
CIE-LCHlch(29.63, 38.02, 132.90°)
OKLaboklab(38.46% -0.0714 0.0643)
OKLCHoklch(38.46% 0.096 138)
XYZxyz(3.7872, 6.0849, 1.7854)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F17 #3F174F
analogous
#434F17 #274F17 #174F23
triadic
#274F17 #17274F #4F1727
tetradic
#274F17 #17434F #3F174F #4F2317
square
#274F17 #17434F #3F174F #4F2317
split-complementary
#274F17 #23174F #4F1743
monochromatic
#0C1807 #102009 #274F17 #3E7E25 #56AE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274F17#FFFFFF#000000##FFFFFF
##274F171.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)
#524810
Deuteranopia (green-blind)
#4C451C
Tritanopia (blue-blind)
#244C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f17;
/* rgb */ color: rgb(39, 79, 23);
/* oklch */ color: oklch(38.5% 0.096 138.0);
Tailwind
colors: {
  custom: {
    50: '#658157',
    500: '#274f17',
    950: '#000000',
  },
}
SCSS
$custom: #274f17;
$custom-light: #658157;
$custom-dark: #000000;
JSON
{
  "hex": "#274f17",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 102.857,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.09609,
    "h": 138
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#274F17
secondary
#713C86
accent
#4ADEB4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274F17

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

Preview Lab → · Contrast checker → · Palette generator →

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