#1F3E07#1F3E07

#1F3E07 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.7% C 0.088 H 135.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1F3E07
RGBrgb(31, 62, 7)
HSLhsl(94, 80%, 14%)
HSVhsv(94, 89%, 24%)
CMYKcmyk(50%, 0%, 88.7%, 75.7%)
CIE-LABlab(22.83, -22.22, 27.89)
CIE-LCHlch(22.83, 35.66, 128.55°)
OKLaboklab(32.74% -0.0622 0.0622)
OKLCHoklch(32.74% 0.088 135)
XYZxyz(2.3260, 3.7518, 0.8026)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3E07 #26073E
analogous
#3A3E07 #1F3E07 #073E0A
triadic
#1F3E07 #071F3E #3E071F
tetradic
#1F3E07 #073A3E #26073E #3E0A07
square
#1F3E07 #073A3E #26073E #3E0A07
split-complementary
#1F3E07 #0A073E #3E073A
monochromatic
#0E1B03 #0E1B03 #1F3E07 #3A750D #56AC13

Accessibility & contrast

On white

12.00
#1F3E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1F3E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3E07
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3E07#FFFFFF#000000##FFFFFF
##1F3E071.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#1E3B34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f3e07;
/* rgb */ color: rgb(31, 62, 7);
/* oklch */ color: oklch(32.7% 0.088 135.0);
Tailwind
colors: {
  custom: {
    50: '#5e734c',
    500: '#1f3e07',
    950: '#000000',
  },
}
SCSS
$custom: #1f3e07;
$custom-light: #5e734c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3e07",
  "rgb": {
    "r": 31,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 93.818,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32736,
    "c": 0.08796,
    "h": 135
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#1F3E07
secondary
#56247D
accent
#32F6A0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3E07

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

Preview Lab → · Contrast checker → · Palette generator →

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