#274B18#274B18

#274B18 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.3% C 0.089 H 137.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#274B18
RGBrgb(39, 75, 24)
HSLhsl(102, 52%, 19%)
HSVhsv(102, 68%, 29%)
CMYKcmyk(48%, 0%, 68%, 70.6%)
CIE-LABlab(28.19, -23.86, 25.76)
CIE-LCHlch(28.19, 35.11, 132.81°)
OKLaboklab(37.29% -0.0658 0.06)
OKLCHoklch(37.29% 0.089 137.7)
XYZxyz(3.5175, 5.5292, 1.7459)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B18 #3C184B
analogous
#414B18 #274B18 #184B23
triadic
#274B18 #18274B #4B1827
tetradic
#274B18 #18414B #3C184B #4B2318
square
#274B18 #18414B #3C184B #4B2318
split-complementary
#274B18 #23184B #4B1841
monochromatic
#0C1707 #0F1D09 #274B18 #3F7927 #57A836

Accessibility & contrast

On white

9.97
#274B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#274B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B18
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B18#FFFFFF#000000##FFFFFF
##274B181.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4412
Deuteranopia (green-blind)
#49411C
Tritanopia (blue-blind)
#254840
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274b18;
/* rgb */ color: rgb(39, 75, 24);
/* oklch */ color: oklch(37.3% 0.089 137.7);
Tailwind
colors: {
  custom: {
    50: '#647d57',
    500: '#274b18',
    950: '#000000',
  },
}
SCSS
$custom: #274b18;
$custom-light: #647d57;
$custom-dark: #000000;
JSON
{
  "hex": "#274b18",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 102.353,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.08904,
    "h": 137.7
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#274B18
secondary
#6E3D82
accent
#4DDBB1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274B18

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

Preview Lab → · Contrast checker → · Palette generator →

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