#255F12#255F12

#255F12 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.1% C 0.123 H 139.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#255F12
RGBrgb(37, 95, 18)
HSLhsl(105, 68%, 22%)
HSVhsv(105, 81%, 37%)
CMYKcmyk(61.1%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.24, -33.98, 35.81)
CIE-LCHlch(35.24, 49.36, 133.50°)
OKLaboklab(43.05% -0.0935 0.0802)
OKLCHoklch(43.05% 0.123 139.4)
XYZxyz(4.9641, 8.6210, 1.9746)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F12 #4C125F
analogous
#4C5F12 #255F12 #125F26
triadic
#255F12 #12255F #5F1225
tetradic
#255F12 #124C5F #4C125F #5F2612
square
#255F12 #124C5F #4C125F #5F2612
split-complementary
#255F12 #26125F #5F124C
monochromatic
#0A1A05 #112C08 #255F12 #39921C #4DC625

Accessibility & contrast

On white

7.71
#255F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#255F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F12
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F12#FFFFFF#000000##FFFFFF
##255F121.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#1F5C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f12;
/* rgb */ color: rgb(37, 95, 18);
/* oklch */ color: oklch(43.1% 0.123 139.4);
Tailwind
colors: {
  custom: {
    50: '#678d56',
    500: '#255f12',
    950: '#000000',
  },
}
SCSS
$custom: #255f12;
$custom-light: #678d56;
$custom-dark: #000000;
JSON
{
  "hex": "#255f12",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 105.195,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.12322,
    "h": 139.4
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#255F12
secondary
#7F3697
accent
#3DEBC0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #255F12

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

Preview Lab → · Contrast checker → · Palette generator →

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