#275912#275912

#275912 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.114 H 138.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#275912
RGBrgb(39, 89, 18)
HSLhsl(102, 66%, 21%)
HSVhsv(102, 80%, 35%)
CMYKcmyk(56.2%, 0%, 79.8%, 65.1%)
CIE-LABlab(33.18, -30.85, 33.79)
CIE-LCHlch(33.18, 45.76, 132.39°)
OKLaboklab(41.37% -0.0852 0.076)
OKLCHoklch(41.37% 0.114 138.3)
XYZxyz(4.5181, 7.6194, 1.8048)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275912 #441259
analogous
#4A5912 #275912 #125921
triadic
#275912 #122759 #591227
tetradic
#275912 #124A59 #441259 #592112
square
#275912 #124A59 #441259 #592112
split-complementary
#275912 #211259 #59124A
monochromatic
#0B1905 #112608 #275912 #3D8C1C #54BF27

Accessibility & contrast

On white

8.32
#275912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#275912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275912
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275912#FFFFFF#000000##FFFFFF
##2759121.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#564C19
Tritanopia (blue-blind)
#23564B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #275912;
/* rgb */ color: rgb(39, 89, 18);
/* oklch */ color: oklch(41.4% 0.114 138.3);
Tailwind
colors: {
  custom: {
    50: '#678855',
    500: '#275912',
    950: '#000000',
  },
}
SCSS
$custom: #275912;
$custom-light: #678855;
$custom-dark: #000000;
JSON
{
  "hex": "#275912",
  "rgb": {
    "r": 39,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 102.254,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.11419,
    "h": 138.3
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#275912
secondary
#763592
accent
#3FE9B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #275912

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

Preview Lab → · Contrast checker → · Palette generator →

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