#275F12#275F12

#275F12 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.1% C 0.122 H 138.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#275F12
RGBrgb(39, 95, 18)
HSLhsl(104, 68%, 22%)
HSVhsv(104, 81%, 37%)
CMYKcmyk(58.9%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.32, -33.38, 35.91)
CIE-LCHlch(35.32, 49.03, 132.92°)
OKLaboklab(43.14% -0.0921 0.0804)
OKLCHoklch(43.14% 0.122 138.9)
XYZxyz(5.0379, 8.6590, 1.9780)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275F12 #4A125F
analogous
#4E5F12 #275F12 #125F23
triadic
#275F12 #12275F #5F1227
tetradic
#275F12 #124E5F #4A125F #5F2312
square
#275F12 #124E5F #4A125F #5F2312
split-complementary
#275F12 #23125F #5F124E
monochromatic
#0B1A05 #122C08 #275F12 #3C921C #51C625

Accessibility & contrast

On white

7.69
#275F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#275F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275F12
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275F12#FFFFFF#000000##FFFFFF
##275F121.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#225C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #275f12;
/* rgb */ color: rgb(39, 95, 18);
/* oklch */ color: oklch(43.1% 0.122 138.9);
Tailwind
colors: {
  custom: {
    50: '#688d56',
    500: '#275f12',
    950: '#000000',
  },
}
SCSS
$custom: #275f12;
$custom-light: #688d56;
$custom-dark: #000000;
JSON
{
  "hex": "#275f12",
  "rgb": {
    "r": 39,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 103.636,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.12223,
    "h": 138.9
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #275F12

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

Preview Lab → · Contrast checker → · Palette generator →

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