#275D17#275D17

#275D17 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.116 H 139.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#275D17
RGBrgb(39, 93, 23)
HSLhsl(106, 60%, 23%)
HSVhsv(106, 75%, 36%)
CMYKcmyk(58.1%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.64, -32.13, 33.19)
CIE-LCHlch(34.64, 46.20, 134.07°)
OKLaboklab(42.59% -0.0883 0.0755)
OKLCHoklch(42.59% 0.116 139.5)
XYZxyz(4.9055, 8.3215, 2.1582)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275D17 #4D175D
analogous
#4A5D17 #275D17 #175D2A
triadic
#275D17 #17275D #5D1727
tetradic
#275D17 #174A5D #4D175D #5D2A17
square
#275D17 #174A5D #4D175D #5D2A17
split-complementary
#275D17 #2A175D #5D174A
monochromatic
#0A1906 #122C0B #275D17 #3C8E23 #50BF2F

Accessibility & contrast

On white

7.88
#275D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#275D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275D17
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275D17#FFFFFF#000000##FFFFFF
##275D171.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#215A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #275d17;
/* rgb */ color: rgb(39, 93, 23);
/* oklch */ color: oklch(42.6% 0.116 139.5);
Tailwind
colors: {
  custom: {
    50: '#688b59',
    500: '#275d17',
    950: '#000000',
  },
}
SCSS
$custom: #275d17;
$custom-light: #688b59;
$custom-dark: #000000;
JSON
{
  "hex": "#275d17",
  "rgb": {
    "r": 39,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 106.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.11621,
    "h": 139.5
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#275D17
secondary
#803C94
accent
#44E3BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #275D17

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

Preview Lab → · Contrast checker → · Palette generator →

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