#255C12#255C12

#255C12 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.119 H 139.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#255C12
RGBrgb(37, 92, 18)
HSLhsl(105, 67%, 22%)
HSVhsv(105, 80%, 36%)
CMYKcmyk(59.8%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.17, -32.75, 34.75)
CIE-LCHlch(34.17, 47.75, 133.30°)
OKLaboklab(42.17% -0.0902 0.078)
OKLCHoklch(42.17% 0.119 139.1)
XYZxyz(4.6991, 8.0909, 1.8862)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C12 #49125C
analogous
#4A5C12 #255C12 #125C24
triadic
#255C12 #12255C #5C1225
tetradic
#255C12 #124A5C #49125C #5C2412
square
#255C12 #124A5C #49125C #5C2412
split-complementary
#255C12 #24125C #5C124A
monochromatic
#0A1A05 #102908 #255C12 #3A8F1C #4EC226

Accessibility & contrast

On white

8.02
#255C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#255C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C12
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C12#FFFFFF#000000##FFFFFF
##255C121.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#1F594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255c12;
/* rgb */ color: rgb(37, 92, 18);
/* oklch */ color: oklch(42.2% 0.119 139.1);
Tailwind
colors: {
  custom: {
    50: '#678b56',
    500: '#255c12',
    950: '#000000',
  },
}
SCSS
$custom: #255c12;
$custom-light: #678b56;
$custom-dark: #000000;
JSON
{
  "hex": "#255c12",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 104.595,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.11926,
    "h": 139.1
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#255C12
secondary
#7C3594
accent
#3EEABE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #255C12

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

Preview Lab → · Contrast checker → · Palette generator →

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