#1F3A07#1F3A07

#1F3A07 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.082 H 133.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#1F3A07
RGBrgb(31, 58, 7)
HSLhsl(92, 78%, 13%)
HSVhsv(92, 88%, 23%)
CMYKcmyk(46.6%, 0%, 87.9%, 77.3%)
CIE-LABlab(21.33, -20.24, 26.30)
CIE-LCHlch(21.33, 33.18, 127.58°)
OKLaboklab(31.5% -0.0568 0.0592)
OKLCHoklch(31.5% 0.082 133.8)
XYZxyz(2.1164, 3.3327, 0.7327)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3A07 #22073A
analogous
#383A07 #1F3A07 #073A09
triadic
#1F3A07 #071F3A #3A071F
tetradic
#1F3A07 #07383A #22073A #3A0907
square
#1F3A07 #07383A #22073A #3A0907
split-complementary
#1F3A07 #09073A #3A0738
monochromatic
#0F1B03 #0F1B03 #1F3A07 #3C710E #59A714

Accessibility & contrast

On white

12.60
#1F3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1F3A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3A07
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3A07#FFFFFF#000000##FFFFFF
##1F3A071.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#1F3730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1f3a07;
/* rgb */ color: rgb(31, 58, 7);
/* oklch */ color: oklch(31.5% 0.082 133.8);
Tailwind
colors: {
  custom: {
    50: '#5e704b',
    500: '#1f3a07',
    950: '#000000',
  },
}
SCSS
$custom: #1f3a07;
$custom-light: #5e704b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3a07",
  "rgb": {
    "r": 31,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 91.765,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31504,
    "c": 0.08208,
    "h": 133.8
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#1F3A07
secondary
#512379
accent
#33F59A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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