#1F480E#1F480E

#1F480E is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.098 H 138.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#1F480E
RGBrgb(31, 72, 14)
HSLhsl(102, 67%, 17%)
HSVhsv(102, 81%, 28%)
CMYKcmyk(56.9%, 0%, 80.6%, 71.8%)
CIE-LABlab(26.61, -26.34, 28.76)
CIE-LCHlch(26.61, 39.00, 132.48°)
OKLaboklab(35.86% -0.0727 0.065)
OKLCHoklch(35.86% 0.098 138.2)
XYZxyz(2.9616, 4.9575, 1.2162)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F480E #370E48
analogous
#3C480E #1F480E #0E481A
triadic
#1F480E #0E1F48 #480E1F
tetradic
#1F480E #0E3C48 #370E48 #481A0E
square
#1F480E #0E3C48 #370E48 #481A0E
split-complementary
#1F480E #1A0E48 #480E3C
monochromatic
#0B1A05 #0B1A05 #1F480E #357B18 #4BAE22

Accessibility & contrast

On white

10.54
#1F480E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1F480E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F480E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F480E#FFFFFF#000000##FFFFFF
##1F480E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4105
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#1C453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f480e;
/* rgb */ color: rgb(31, 72, 14);
/* oklch */ color: oklch(35.9% 0.098 138.2);
Tailwind
colors: {
  custom: {
    50: '#607b51',
    500: '#1f480e',
    950: '#000000',
  },
}
SCSS
$custom: #1f480e;
$custom-light: #607b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f480e",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 102.414,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.09754,
    "h": 138.2
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#1F480E
secondary
#6A2F83
accent
#3DEAB8
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F480E

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

Preview Lab → · Contrast checker → · Palette generator →

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