#275B18#275B18

#275B18 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.113 H 139.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#275B18
RGBrgb(39, 91, 24)
HSLhsl(107, 58%, 23%)
HSVhsv(107, 74%, 36%)
CMYKcmyk(57.1%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.94, -31.18, 32.01)
CIE-LCHlch(33.94, 44.69, 134.25°)
OKLaboklab(42.01% -0.0857 0.0732)
OKLCHoklch(42.01% 0.113 139.5)
XYZxyz(4.7425, 7.9791, 2.1542)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275B18 #4C185B
analogous
#495B18 #275B18 #185B2A
triadic
#275B18 #18275B #5B1827
tetradic
#275B18 #18495B #4C185B #5B2A18
square
#275B18 #18495B #4C185B #5B2A18
split-complementary
#275B18 #2A185B #5B1849
monochromatic
#0A1806 #122B0B #275B18 #3C8B25 #51BC32

Accessibility & contrast

On white

8.09
#275B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#275B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275B18
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275B18#FFFFFF#000000##FFFFFF
##275B181.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#22584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #275b18;
/* rgb */ color: rgb(39, 91, 24);
/* oklch */ color: oklch(42.0% 0.113 139.5);
Tailwind
colors: {
  custom: {
    50: '#678a59',
    500: '#275b18',
    950: '#000000',
  },
}
SCSS
$custom: #275b18;
$custom-light: #678a59;
$custom-dark: #000000;
JSON
{
  "hex": "#275b18",
  "rgb": {
    "r": 39,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 106.567,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.11269,
    "h": 139.5
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#275B18
secondary
#7F3D92
accent
#46E1BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #275B18

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

Preview Lab → · Contrast checker → · Palette generator →

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