#27512E#27512E

#27512E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.075 H 147.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#27512E
RGBrgb(39, 81, 46)
HSLhsl(130, 35%, 24%)
HSVhsv(130, 52%, 32%)
CMYKcmyk(51.9%, 0%, 43.2%, 68.2%)
CIE-LABlab(30.67, -23.40, 16.18)
CIE-LCHlch(30.67, 28.45, 145.33°)
OKLaboklab(39.43% -0.0636 0.0402)
OKLCHoklch(39.43% 0.075 147.7)
XYZxyz(4.2720, 6.5131, 3.6163)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27512E #51274A
analogous
#355127 #27512E #275143
triadic
#27512E #2E2751 #512E27
tetradic
#27512E #273551 #51274A #514327
square
#27512E #273551 #51274A #514327
split-complementary
#27512E #432751 #512735
monochromatic
#0A150C #132817 #27512E #3B7A45 #4FA45D

Accessibility & contrast

On white

9.12
#27512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#27512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27512E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27512E#FFFFFF#000000##FFFFFF
##27512E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2C
Deuteranopia (green-blind)
#4C4730
Tritanopia (blue-blind)
#204F48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27512e;
/* rgb */ color: rgb(39, 81, 46);
/* oklch */ color: oklch(39.4% 0.075 147.7);
Tailwind
colors: {
  custom: {
    50: '#648267',
    500: '#27512e',
    950: '#000000',
  },
}
SCSS
$custom: #27512e;
$custom-light: #648267;
$custom-dark: #000000;
JSON
{
  "hex": "#27512e",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 130,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.07518,
    "h": 147.7
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#27512E
secondary
#84507B
accent
#5DB9CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #27512E

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

Preview Lab → · Contrast checker → · Palette generator →

#27512E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva