#275F17#275F17

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

Color values

HEX#275F17
RGBrgb(39, 95, 23)
HSLhsl(107, 61%, 23%)
HSVhsv(107, 76%, 37%)
CMYKcmyk(58.9%, 0%, 75.8%, 62.7%)
CIE-LABlab(35.36, -32.98, 33.93)
CIE-LCHlch(35.36, 47.31, 134.19°)
OKLaboklab(43.18% -0.0906 0.0771)
OKLCHoklch(43.18% 0.119 139.6)
XYZxyz(5.0834, 8.6772, 2.2174)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275F17 #4F175F
analogous
#4B5F17 #275F17 #175F2B
triadic
#275F17 #17275F #5F1727
tetradic
#275F17 #174B5F #4F175F #5F2B17
square
#275F17 #174B5F #4F175F #5F2B17
split-complementary
#275F17 #2B175F #5F174B
monochromatic
#0A1906 #132E0B #275F17 #3B9023 #4FC22F

Accessibility & contrast

On white

7.68
#275F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #275F17
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275F17#FFFFFF#000000##FFFFFF
##275F171.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #275f17;
/* rgb */ color: rgb(39, 95, 23);
/* oklch */ color: oklch(43.2% 0.119 139.6);
Tailwind
colors: {
  custom: {
    50: '#688d59',
    500: '#275f17',
    950: '#000000',
  },
}
SCSS
$custom: #275f17;
$custom-light: #688d59;
$custom-dark: #000000;
JSON
{
  "hex": "#275f17",
  "rgb": {
    "r": 39,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 106.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.11895,
    "h": 139.6
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#275F17
secondary
#823C96
accent
#44E4C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #275F17

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

Preview Lab → · Contrast checker → · Palette generator →

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