#27812C#27812C

#27812C is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.148 H 143.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#27812C
RGBrgb(39, 129, 44)
HSLhsl(123, 54%, 33%)
HSVhsv(123, 70%, 51%)
CMYKcmyk(69.8%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.38, -44.12, 37.42)
CIE-LCHlch(47.38, 57.85, 139.69°)
OKLaboklab(53.18% -0.1195 0.0871)
OKLCHoklch(53.18% 0.148 143.9)
XYZxyz(9.1410, 16.3127, 5.0493)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27812C #81277C
analogous
#4F8127 #27812C #278159
triadic
#27812C #2C2781 #812C27
tetradic
#27812C #274F81 #81277C #815927
square
#27812C #274F81 #81277C #815927
split-complementary
#27812C #592781 #81274F
monochromatic
#0B230C #19521C #27812C #35B03C #56CC5D

Accessibility & contrast

On white

4.93
#27812C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#27812C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27812C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27812C#FFFFFF#000000##FFFFFF
##27812C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847522
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#0D7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #27812c;
/* rgb */ color: rgb(39, 129, 44);
/* oklch */ color: oklch(53.2% 0.148 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ea669',
    500: '#27812c',
    950: '#000000',
  },
}
SCSS
$custom: #27812c;
$custom-light: #6ea669;
$custom-dark: #000000;
JSON
{
  "hex": "#27812c",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 123.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.14789,
    "h": 143.9
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#27812C
secondary
#B153AC
accent
#4BD5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #27812C

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

Preview Lab → · Contrast checker → · Palette generator →

#27812C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva