#255E1F#255E1F

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

Color values

HEX#255E1F
RGBrgb(37, 94, 31)
HSLhsl(114, 50%, 25%)
HSVhsv(114, 67%, 37%)
CMYKcmyk(60.6%, 0%, 67%, 63.1%)
CIE-LABlab(35.00, -32.31, 29.81)
CIE-LCHlch(35.00, 43.96, 137.31°)
OKLaboklab(42.88% -0.0881 0.0694)
OKLCHoklch(42.88% 0.112 141.8)
XYZxyz(5.0127, 8.4972, 2.6720)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E1F #581F5E
analogous
#455E1F #255E1F #1F5E39
triadic
#255E1F #1F255E #5E1F25
tetradic
#255E1F #1F455E #581F5E #5E391F
square
#255E1F #1F455E #581F5E #5E391F
split-complementary
#255E1F #391F5E #5E1F45
monochromatic
#091708 #133010 #255E1F #378C2E #49BA3D

Accessibility & contrast

On white

7.78
#255E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255E1F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E1F#FFFFFF#000000##FFFFFF
##255E1F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#1D5B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255e1f;
/* rgb */ color: rgb(37, 94, 31);
/* oklch */ color: oklch(42.9% 0.112 141.8);
Tailwind
colors: {
  custom: {
    50: '#668c5d',
    500: '#255e1f',
    950: '#000000',
  },
}
SCSS
$custom: #255e1f;
$custom-light: #668c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#255e1f",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 114.286,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.11221,
    "h": 141.8
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#255E1F
secondary
#8B4693
accent
#4EDACD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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