#275E12#275E12

#275E12 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.121 H 138.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#275E12
RGBrgb(39, 94, 18)
HSLhsl(103, 68%, 22%)
HSVhsv(103, 81%, 37%)
CMYKcmyk(58.5%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.96, -32.97, 35.56)
CIE-LCHlch(34.96, 48.49, 132.84°)
OKLaboklab(42.84% -0.0909 0.0797)
OKLCHoklch(42.84% 0.121 138.8)
XYZxyz(4.9484, 8.4800, 1.9482)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275E12 #49125E
analogous
#4D5E12 #275E12 #125E23
triadic
#275E12 #12275E #5E1227
tetradic
#275E12 #124D5E #49125E #5E2312
square
#275E12 #124D5E #49125E #5E2312
split-complementary
#275E12 #23125E #5E124D
monochromatic
#0B1A05 #122B08 #275E12 #3C911C #52C526

Accessibility & contrast

On white

7.79
#275E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#275E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275E12
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275E12#FFFFFF#000000##FFFFFF
##275E121.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#225B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #275e12;
/* rgb */ color: rgb(39, 94, 18);
/* oklch */ color: oklch(42.8% 0.121 138.8);
Tailwind
colors: {
  custom: {
    50: '#688c56',
    500: '#275e12',
    950: '#000000',
  },
}
SCSS
$custom: #275e12;
$custom-light: #688c56;
$custom-dark: #000000;
JSON
{
  "hex": "#275e12",
  "rgb": {
    "r": 39,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 103.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.12091,
    "h": 138.8
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#275E12
secondary
#7C3596
accent
#3DEBBB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #275E12

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

Preview Lab → · Contrast checker → · Palette generator →

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