#275D12#275D12

#275D12 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.120 H 138.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#275D12
RGBrgb(39, 93, 18)
HSLhsl(103, 68%, 22%)
HSVhsv(103, 81%, 36%)
CMYKcmyk(58.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.61, -32.55, 35.21)
CIE-LCHlch(34.61, 47.95, 132.75°)
OKLaboklab(42.55% -0.0898 0.079)
OKLCHoklch(42.55% 0.12 138.7)
XYZxyz(4.8600, 8.3033, 1.9187)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275D12 #48125D
analogous
#4D5D12 #275D12 #125D23
triadic
#275D12 #12275D #5D1227
tetradic
#275D12 #124D5D #48125D #5D2312
square
#275D12 #124D5D #48125D #5D2312
split-complementary
#275D12 #23125D #5D124D
monochromatic
#0B1A05 #112A08 #275D12 #3D901C #52C426

Accessibility & contrast

On white

7.89
#275D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #275D12
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275D12#FFFFFF#000000##FFFFFF
##275D121.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#225A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #275d12;
/* rgb */ color: rgb(39, 93, 18);
/* oklch */ color: oklch(42.5% 0.120 138.7);
Tailwind
colors: {
  custom: {
    50: '#688b56',
    500: '#275d12',
    950: '#000000',
  },
}
SCSS
$custom: #275d12;
$custom-light: #688b56;
$custom-dark: #000000;
JSON
{
  "hex": "#275d12",
  "rgb": {
    "r": 39,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 103.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.11958,
    "h": 138.7
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#275D12
secondary
#7B3595
accent
#3DEABA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #275D12

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

Preview Lab → · Contrast checker → · Palette generator →

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