#275412#275412

#275412 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.107 H 137.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#275412
RGBrgb(39, 84, 18)
HSLhsl(101, 65%, 20%)
HSVhsv(101, 79%, 33%)
CMYKcmyk(53.6%, 0%, 78.6%, 67.1%)
CIE-LABlab(31.38, -28.65, 32.00)
CIE-LCHlch(31.38, 42.95, 131.84°)
OKLaboklab(39.89% -0.0793 0.0723)
OKLCHoklch(39.89% 0.107 137.7)
XYZxyz(4.1161, 6.8154, 1.6708)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275412 #3F1254
analogous
#485412 #275412 #12541E
triadic
#275412 #122754 #541227
tetradic
#275412 #124854 #3F1254 #541E12
square
#275412 #124854 #3F1254 #541E12
split-complementary
#275412 #1E1254 #541248
monochromatic
#0C1905 #102207 #275412 #3E861D #56B928

Accessibility & contrast

On white

8.89
#275412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#275412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275412
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275412#FFFFFF#000000##FFFFFF
##2754121.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#245147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #275412;
/* rgb */ color: rgb(39, 84, 18);
/* oklch */ color: oklch(39.9% 0.107 137.7);
Tailwind
colors: {
  custom: {
    50: '#668455',
    500: '#275412',
    950: '#000000',
  },
}
SCSS
$custom: #275412;
$custom-light: #668455;
$custom-dark: #000000;
JSON
{
  "hex": "#275412",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 100.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.10727,
    "h": 137.7
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#275412
secondary
#71358D
accent
#40E8B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #275412

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

Preview Lab → · Contrast checker → · Palette generator →

#275412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva