#255D12#255D12

#255D12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.5% C 0.121 H 139.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#255D12
RGBrgb(37, 93, 18)
HSLhsl(105, 68%, 22%)
HSVhsv(105, 81%, 36%)
CMYKcmyk(60.2%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.53, -33.16, 35.11)
CIE-LCHlch(34.53, 48.29, 133.37°)
OKLaboklab(42.46% -0.0913 0.0788)
OKLCHoklch(42.46% 0.121 139.2)
XYZxyz(4.7863, 8.2653, 1.9153)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D12 #4A125D
analogous
#4B5D12 #255D12 #125D25
triadic
#255D12 #12255D #5D1225
tetradic
#255D12 #124B5D #4A125D #5D2512
square
#255D12 #124B5D #4A125D #5D2512
split-complementary
#255D12 #25125D #5D124B
monochromatic
#0A1A05 #112A08 #255D12 #39901C #4EC426

Accessibility & contrast

On white

7.91
#255D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#255D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255D12
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255D12#FFFFFF#000000##FFFFFF
##255D121.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#1F5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255d12;
/* rgb */ color: rgb(37, 93, 18);
/* oklch */ color: oklch(42.5% 0.121 139.2);
Tailwind
colors: {
  custom: {
    50: '#678b56',
    500: '#255d12',
    950: '#000000',
  },
}
SCSS
$custom: #255d12;
$custom-light: #678b56;
$custom-dark: #000000;
JSON
{
  "hex": "#255d12",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 104.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.12059,
    "h": 139.2
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#255D12
secondary
#7D3595
accent
#3DEABF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #255D12

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

Preview Lab → · Contrast checker → · Palette generator →

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