#276018#276018

#276018 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.5% C 0.120 H 139.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#276018
RGBrgb(39, 96, 24)
HSLhsl(108, 60%, 24%)
HSVhsv(108, 75%, 38%)
CMYKcmyk(59.4%, 0%, 75%, 62.4%)
CIE-LABlab(35.72, -33.30, 33.87)
CIE-LCHlch(35.72, 47.50, 134.52°)
OKLaboklab(43.48% -0.0914 0.0771)
OKLCHoklch(43.48% 0.12 139.9)
XYZxyz(5.1842, 8.8626, 2.3014)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276018 #511860
analogous
#4B6018 #276018 #18602D
triadic
#276018 #182760 #601827
tetradic
#276018 #184B60 #511860 #602D18
square
#276018 #184B60 #511860 #602D18
split-complementary
#276018 #2D1860 #60184B
monochromatic
#0A1806 #132F0C #276018 #3B9124 #4FC230

Accessibility & contrast

On white

7.57
#276018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#276018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276018
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276018#FFFFFF#000000##FFFFFF
##2760181.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#215D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #276018;
/* rgb */ color: rgb(39, 96, 24);
/* oklch */ color: oklch(43.5% 0.120 139.9);
Tailwind
colors: {
  custom: {
    50: '#688e5a',
    500: '#276018',
    950: '#000000',
  },
}
SCSS
$custom: #276018;
$custom-light: #688e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#276018",
  "rgb": {
    "r": 39,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 107.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.11959,
    "h": 139.9
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#276018
secondary
#843D96
accent
#45E3C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #276018

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

Preview Lab → · Contrast checker → · Palette generator →

#276018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva