#275812#275812

#275812 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.113 H 138.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#275812
RGBrgb(39, 88, 18)
HSLhsl(102, 66%, 21%)
HSVhsv(102, 80%, 35%)
CMYKcmyk(55.7%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.82, -30.42, 33.44)
CIE-LCHlch(32.82, 45.20, 132.29°)
OKLaboklab(41.08% -0.084 0.0753)
OKLCHoklch(41.08% 0.113 138.2)
XYZxyz(4.4354, 7.4541, 1.7772)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275812 #431258
analogous
#4A5812 #275812 #125820
triadic
#275812 #122758 #581227
tetradic
#275812 #124A58 #431258 #582012
square
#275812 #124A58 #431258 #582012
split-complementary
#275812 #201258 #58124A
monochromatic
#0B1905 #102508 #275812 #3E8B1C #54BE27

Accessibility & contrast

On white

8.43
#275812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#275812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275812
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275812#FFFFFF#000000##FFFFFF
##2758121.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#23554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #275812;
/* rgb */ color: rgb(39, 88, 18);
/* oklch */ color: oklch(41.1% 0.113 138.2);
Tailwind
colors: {
  custom: {
    50: '#678855',
    500: '#275812',
    950: '#000000',
  },
}
SCSS
$custom: #275812;
$custom-light: #678855;
$custom-dark: #000000;
JSON
{
  "hex": "#275812",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 102,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.11283,
    "h": 138.2
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#275812
secondary
#753591
accent
#3FE9B6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #275812

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

Preview Lab → · Contrast checker → · Palette generator →

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