#27842C#27842C

#27842C is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.152 H 143.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#27842C
RGBrgb(39, 132, 44)
HSLhsl(123, 54%, 34%)
HSVhsv(123, 70%, 52%)
CMYKcmyk(70.5%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.40, -45.22, 38.56)
CIE-LCHlch(48.40, 59.43, 139.55°)
OKLaboklab(54.02% -0.1225 0.0895)
OKLCHoklch(54.02% 0.152 143.9)
XYZxyz(9.5420, 17.1147, 5.1830)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27842C #84277F
analogous
#508427 #27842C #27845A
triadic
#27842C #2C2784 #842C27
tetradic
#27842C #275084 #84277F #845A27
square
#27842C #275084 #84277F #845A27
split-complementary
#27842C #5A2784 #842750
monochromatic
#0B260D #19551C #27842C #35B33C #58CE5E

Accessibility & contrast

On white

4.75
#27842C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#27842C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27842C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27842C#FFFFFF#000000##FFFFFF
##27842C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#0B8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27842c;
/* rgb */ color: rgb(39, 132, 44);
/* oklch */ color: oklch(54.0% 0.152 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa969',
    500: '#27842c',
    950: '#000000',
  },
}
SCSS
$custom: #27842c;
$custom-light: #6fa969;
$custom-dark: #000000;
JSON
{
  "hex": "#27842c",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 123.226,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.15173,
    "h": 143.9
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#27842C
secondary
#B254AD
accent
#4AD6DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #27842C

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

Preview Lab → · Contrast checker → · Palette generator →

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