#275115#275115

#275115 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.101 H 137.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#275115
RGBrgb(39, 81, 21)
HSLhsl(102, 59%, 20%)
HSVhsv(102, 74%, 32%)
CMYKcmyk(51.9%, 0%, 74.1%, 68.2%)
CIE-LABlab(30.33, -27.02, 29.57)
CIE-LCHlch(30.33, 40.06, 132.42°)
OKLaboklab(39.03% -0.0746 0.0676)
OKLCHoklch(39.03% 0.101 137.8)
XYZxyz(3.9144, 6.3701, 1.7326)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275115 #3F1551
analogous
#455115 #275115 #155121
triadic
#275115 #152751 #511527
tetradic
#275115 #154551 #3F1551 #512115
square
#275115 #154551 #3F1551 #512115
split-complementary
#275115 #211551 #511545
monochromatic
#0C1806 #102008 #275115 #3E8222 #56B22E

Accessibility & contrast

On white

9.23
#275115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#275115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275115
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275115#FFFFFF#000000##FFFFFF
##2751151.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#244E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #275115;
/* rgb */ color: rgb(39, 81, 21);
/* oklch */ color: oklch(39.0% 0.101 137.8);
Tailwind
colors: {
  custom: {
    50: '#668256',
    500: '#275115',
    950: '#000000',
  },
}
SCSS
$custom: #275115;
$custom-light: #668256;
$custom-dark: #000000;
JSON
{
  "hex": "#275115",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 102,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.39033,
    "c": 0.10072,
    "h": 137.8
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#275115
secondary
#713989
accent
#46E2B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #275115

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

Preview Lab → · Contrast checker → · Palette generator →

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