#255E1C#255E1C

#255E1C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.115 H 141.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#255E1C
RGBrgb(37, 94, 28)
HSLhsl(112, 54%, 24%)
HSVhsv(112, 70%, 37%)
CMYKcmyk(60.6%, 0%, 70.2%, 63.1%)
CIE-LABlab(34.97, -32.65, 31.23)
CIE-LCHlch(34.97, 45.18, 136.27°)
OKLaboklab(42.85% -0.0893 0.0721)
OKLCHoklch(42.85% 0.115 141.1)
XYZxyz(4.9750, 8.4821, 2.4734)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E1C #551C5E
analogous
#465E1C #255E1C #1C5E34
triadic
#255E1C #1C255E #5E1C25
tetradic
#255E1C #1C465E #551C5E #5E341C
square
#255E1C #1C465E #551C5E #5E341C
split-complementary
#255E1C #341C5E #5E1C46
monochromatic
#091807 #122F0E #255E1C #388D2A #4ABC38

Accessibility & contrast

On white

7.79
#255E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#255E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255E1C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E1C#FFFFFF#000000##FFFFFF
##255E1C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615514
Deuteranopia (green-blind)
#595022
Tritanopia (blue-blind)
#1D5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255e1c;
/* rgb */ color: rgb(37, 94, 28);
/* oklch */ color: oklch(42.9% 0.115 141.1);
Tailwind
colors: {
  custom: {
    50: '#678c5c',
    500: '#255e1c',
    950: '#000000',
  },
}
SCSS
$custom: #255e1c;
$custom-light: #678c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#255e1c",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 111.818,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4285,
    "c": 0.11474,
    "h": 141.1
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#255E1C
secondary
#884293
accent
#4ADDC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255E1C

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

Preview Lab → · Contrast checker → · Palette generator →

#255E1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva