#255B0F#255B0F

#255B0F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.120 H 138.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#255B0F
RGBrgb(37, 91, 15)
HSLhsl(103, 72%, 21%)
HSVhsv(103, 84%, 36%)
CMYKcmyk(59.3%, 0%, 83.5%, 64.3%)
CIE-LABlab(33.79, -32.55, 35.51)
CIE-LCHlch(33.79, 48.17, 132.51°)
OKLaboklab(41.85% -0.0898 0.0791)
OKLCHoklch(41.85% 0.12 138.6)
XYZxyz(4.5901, 7.9096, 1.7367)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B0F #450F5B
analogous
#4B5B0F #255B0F #0F5B1F
triadic
#255B0F #0F255B #5B0F25
tetradic
#255B0F #0F4B5B #450F5B #5B1F0F
square
#255B0F #0F4B5B #450F5B #5B1F0F
split-complementary
#255B0F #1F0F5B #5B0F4B
monochromatic
#0B1A04 #102606 #255B0F #3A9018 #50C420

Accessibility & contrast

On white

8.13
#255B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#255B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B0F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B0F#FFFFFF#000000##FFFFFF
##255B0F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#20584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255b0f;
/* rgb */ color: rgb(37, 91, 15);
/* oklch */ color: oklch(41.8% 0.120 138.6);
Tailwind
colors: {
  custom: {
    50: '#678a54',
    500: '#255b0f',
    950: '#000000',
  },
}
SCSS
$custom: #255b0f;
$custom-light: #678a54;
$custom-dark: #000000;
JSON
{
  "hex": "#255b0f",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 102.632,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.11973,
    "h": 138.6
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#255B0F
secondary
#783195
accent
#39EEBA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #255B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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