#255F1C#255F1C

#255F1C is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.116 H 141.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#255F1C
RGBrgb(37, 95, 28)
HSLhsl(112, 54%, 24%)
HSVhsv(112, 71%, 37%)
CMYKcmyk(61.1%, 0%, 70.5%, 62.7%)
CIE-LABlab(35.32, -33.07, 31.62)
CIE-LCHlch(35.32, 45.76, 136.29°)
OKLaboklab(43.14% -0.0904 0.0729)
OKLCHoklch(43.14% 0.116 141.1)
XYZxyz(5.0645, 8.6611, 2.5033)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F1C #561C5F
analogous
#475F1C #255F1C #1C5F35
triadic
#255F1C #1C255F #5F1C25
tetradic
#255F1C #1C475F #561C5F #5F351C
square
#255F1C #1C475F #561C5F #5F351C
split-complementary
#255F1C #351C5F #5F1C47
monochromatic
#091807 #13300E #255F1C #378E2A #4ABE38

Accessibility & contrast

On white

7.69
#255F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#255F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F1C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F1C#FFFFFF#000000##FFFFFF
##255F1C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625613
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#1D5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f1c;
/* rgb */ color: rgb(37, 95, 28);
/* oklch */ color: oklch(43.1% 0.116 141.1);
Tailwind
colors: {
  custom: {
    50: '#678d5c',
    500: '#255f1c',
    950: '#000000',
  },
}
SCSS
$custom: #255f1c;
$custom-light: #678d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#255f1c",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 111.94,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.11614,
    "h": 141.1
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#255F1C
secondary
#894294
accent
#4ADECA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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