#275C12#275C12

#275C12 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.118 H 138.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#275C12
RGBrgb(39, 92, 18)
HSLhsl(103, 67%, 22%)
HSVhsv(103, 80%, 36%)
CMYKcmyk(57.6%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.25, -32.13, 34.86)
CIE-LCHlch(34.25, 47.41, 132.67°)
OKLaboklab(42.25% -0.0887 0.0782)
OKLCHoklch(42.25% 0.118 138.6)
XYZxyz(4.7728, 8.1289, 1.8897)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275C12 #47125C
analogous
#4C5C12 #275C12 #125C22
triadic
#275C12 #12275C #5C1227
tetradic
#275C12 #124C5C #47125C #5C2212
square
#275C12 #124C5C #47125C #5C2212
split-complementary
#275C12 #22125C #5C124C
monochromatic
#0B1A05 #112908 #275C12 #3D8F1C #52C226

Accessibility & contrast

On white

8.00
#275C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#275C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275C12
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275C12#FFFFFF#000000##FFFFFF
##275C121.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#22594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #275c12;
/* rgb */ color: rgb(39, 92, 18);
/* oklch */ color: oklch(42.3% 0.118 138.6);
Tailwind
colors: {
  custom: {
    50: '#688b56',
    500: '#275c12',
    950: '#000000',
  },
}
SCSS
$custom: #275c12;
$custom-light: #688b56;
$custom-dark: #000000;
JSON
{
  "hex": "#275c12",
  "rgb": {
    "r": 39,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 102.973,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.11825,
    "h": 138.6
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#275C12
secondary
#793594
accent
#3EEAB9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #275C12

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

Preview Lab → · Contrast checker → · Palette generator →

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