#1F680F#1F680F

#1F680F is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.139 H 140.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#1F680F
RGBrgb(31, 104, 15)
HSLhsl(109, 75%, 23%)
HSVhsv(109, 86%, 41%)
CMYKcmyk(70.2%, 0%, 85.6%, 59.2%)
CIE-LABlab(38.24, -39.24, 39.63)
CIE-LCHlch(38.24, 55.77, 134.71°)
OKLaboklab(45.48% -0.1074 0.0878)
OKLCHoklch(45.48% 0.139 140.7)
XYZxyz(5.6013, 10.2259, 2.1304)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F680F #580F68
analogous
#4B680F #1F680F #0F682B
triadic
#1F680F #0F1F68 #680F1F
tetradic
#1F680F #0F4B68 #580F68 #682B0F
square
#1F680F #0F4B68 #580F68 #682B0F
split-complementary
#1F680F #2B0F68 #680F4B
monochromatic
#081B04 #0F3307 #1F680F #2F9D17 #3FD31E

Accessibility & contrast

On white

6.90
#1F680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F680F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F680F#FFFFFF#000000##FFFFFF
##1F680F1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#116458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f680f;
/* rgb */ color: rgb(31, 104, 15);
/* oklch */ color: oklch(45.5% 0.139 140.7);
Tailwind
colors: {
  custom: {
    50: '#679456',
    500: '#1f680f',
    950: '#000000',
  },
}
SCSS
$custom: #1f680f;
$custom-light: #679456;
$custom-dark: #000000;
JSON
{
  "hex": "#1f680f",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 109.213,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.13876,
    "h": 140.7
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#1F680F
secondary
#8D32A1
accent
#36F1D0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #1F680F

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

Preview Lab → · Contrast checker → · Palette generator →

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