#255A0F#255A0F

#255A0F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.118 H 138.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#255A0F
RGBrgb(37, 90, 15)
HSLhsl(102, 71%, 21%)
HSVhsv(102, 83%, 35%)
CMYKcmyk(58.9%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.44, -32.13, 35.16)
CIE-LCHlch(33.44, 47.63, 132.42°)
OKLaboklab(41.55% -0.0887 0.0784)
OKLCHoklch(41.55% 0.118 138.5)
XYZxyz(4.5052, 7.7398, 1.7084)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A0F #440F5A
analogous
#4A5A0F #255A0F #0F5A1E
triadic
#255A0F #0F255A #5A0F25
tetradic
#255A0F #0F4A5A #440F5A #5A1E0F
square
#255A0F #0F4A5A #440F5A #5A1E0F
split-complementary
#255A0F #1E0F5A #5A0F4A
monochromatic
#0B1A04 #0F2606 #255A0F #3B8E18 #50C320

Accessibility & contrast

On white

8.24
#255A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#255A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255A0F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A0F#FFFFFF#000000##FFFFFF
##255A0F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#20574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a0f;
/* rgb */ color: rgb(37, 90, 15);
/* oklch */ color: oklch(41.6% 0.118 138.5);
Tailwind
colors: {
  custom: {
    50: '#678954',
    500: '#255a0f',
    950: '#000000',
  },
}
SCSS
$custom: #255a0f;
$custom-light: #678954;
$custom-dark: #000000;
JSON
{
  "hex": "#255a0f",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 102.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41553,
    "c": 0.11841,
    "h": 138.5
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#255A0F
secondary
#773194
accent
#3AEEB9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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