#275A12#275A12

#275A12 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.116 H 138.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#275A12
RGBrgb(39, 90, 18)
HSLhsl(103, 67%, 21%)
HSVhsv(103, 80%, 35%)
CMYKcmyk(56.7%, 0%, 80%, 64.7%)
CIE-LABlab(33.54, -31.28, 34.15)
CIE-LCHlch(33.54, 46.31, 132.49°)
OKLaboklab(41.66% -0.0864 0.0768)
OKLCHoklch(41.66% 0.116 138.4)
XYZxyz(4.6019, 7.7870, 1.8327)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275A12 #45125A
analogous
#4B5A12 #275A12 #125A21
triadic
#275A12 #12275A #5A1227
tetradic
#275A12 #124B5A #45125A #5A2112
square
#275A12 #124B5A #45125A #5A2112
split-complementary
#275A12 #21125A #5A124B
monochromatic
#0B1A05 #112708 #275A12 #3D8D1C #53C026

Accessibility & contrast

On white

8.21
#275A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#275A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275A12
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275A12#FFFFFF#000000##FFFFFF
##275A121.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5104
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#23574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #275a12;
/* rgb */ color: rgb(39, 90, 18);
/* oklch */ color: oklch(41.7% 0.116 138.4);
Tailwind
colors: {
  custom: {
    50: '#678956',
    500: '#275a12',
    950: '#000000',
  },
}
SCSS
$custom: #275a12;
$custom-light: #678956;
$custom-dark: #000000;
JSON
{
  "hex": "#275a12",
  "rgb": {
    "r": 39,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 102.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.11555,
    "h": 138.4
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#275A12
secondary
#773593
accent
#3EEAB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #275A12

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

Preview Lab → · Contrast checker → · Palette generator →

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