#1F5A10#1F5A10

#1F5A10 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.3% C 0.121 H 140.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1F5A10
RGBrgb(31, 90, 16)
HSLhsl(108, 70%, 21%)
HSVhsv(108, 82%, 35%)
CMYKcmyk(65.6%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.22, -33.80, 34.51)
CIE-LCHlch(33.22, 48.31, 134.40°)
OKLaboklab(41.32% -0.0927 0.0773)
OKLCHoklch(41.32% 0.121 140.2)
XYZxyz(4.3146, 7.6406, 1.7375)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A10 #4B105A
analogous
#445A10 #1F5A10 #105A26
triadic
#1F5A10 #101F5A #5A101F
tetradic
#1F5A10 #10445A #4B105A #5A2610
square
#1F5A10 #10445A #4B105A #5A2610
split-complementary
#1F5A10 #26105A #5A1044
monochromatic
#091A05 #0D2607 #1F5A10 #318E19 #43C222

Accessibility & contrast

On white

8.31
#1F5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1F5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A10
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A10#FFFFFF#000000##FFFFFF
##1F5A101.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5102
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#17574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f5a10;
/* rgb */ color: rgb(31, 90, 16);
/* oklch */ color: oklch(41.3% 0.121 140.2);
Tailwind
colors: {
  custom: {
    50: '#638954',
    500: '#1f5a10',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a10;
$custom-light: #638954;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a10",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 107.838,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.12073,
    "h": 140.2
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#1F5A10
secondary
#803393
accent
#3BEDC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5A10

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

Preview Lab → · Contrast checker → · Palette generator →

#1F5A10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva