#275F18#275F18

#275F18 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.118 H 139.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#275F18
RGBrgb(39, 95, 24)
HSLhsl(107, 60%, 23%)
HSVhsv(107, 75%, 37%)
CMYKcmyk(58.9%, 0%, 74.7%, 62.7%)
CIE-LABlab(35.36, -32.88, 33.50)
CIE-LCHlch(35.36, 46.94, 134.47°)
OKLaboklab(43.19% -0.0903 0.0763)
OKLCHoklch(43.19% 0.118 139.8)
XYZxyz(5.0936, 8.6813, 2.2712)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275F18 #50185F
analogous
#4A5F18 #275F18 #185F2C
triadic
#275F18 #18275F #5F1827
tetradic
#275F18 #184A5F #50185F #5F2C18
square
#275F18 #184A5F #50185F #5F2C18
split-complementary
#275F18 #2C185F #5F184A
monochromatic
#0A1806 #132E0C #275F18 #3B9024 #4FC131

Accessibility & contrast

On white

7.67
#275F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#275F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275F18
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275F18#FFFFFF#000000##FFFFFF
##275F181.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#215C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #275f18;
/* rgb */ color: rgb(39, 95, 24);
/* oklch */ color: oklch(43.2% 0.118 139.8);
Tailwind
colors: {
  custom: {
    50: '#688d59',
    500: '#275f18',
    950: '#000000',
  },
}
SCSS
$custom: #275f18;
$custom-light: #688d59;
$custom-dark: #000000;
JSON
{
  "hex": "#275f18",
  "rgb": {
    "r": 39,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 107.324,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.11823,
    "h": 139.8
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#275F18
secondary
#833D95
accent
#45E3C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #275F18

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

Preview Lab → · Contrast checker → · Palette generator →

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