#1F3C07#1F3C07

#1F3C07 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.085 H 134.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1F3C07
RGBrgb(31, 60, 7)
HSLhsl(93, 79%, 13%)
HSVhsv(93, 88%, 24%)
CMYKcmyk(48.3%, 0%, 88.3%, 76.5%)
CIE-LABlab(22.08, -21.24, 27.10)
CIE-LCHlch(22.08, 34.43, 128.08°)
OKLaboklab(32.12% -0.0595 0.0607)
OKLCHoklch(32.12% 0.085 134.5)
XYZxyz(2.2192, 3.5382, 0.7670)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3C07 #24073C
analogous
#393C07 #1F3C07 #073C09
triadic
#1F3C07 #071F3C #3C071F
tetradic
#1F3C07 #07393C #24073C #3C0907
square
#1F3C07 #07393C #24073C #3C0907
split-complementary
#1F3C07 #09073C #3C0739
monochromatic
#0E1B03 #0E1B03 #1F3C07 #3B730D #58AA14

Accessibility & contrast

On white

12.30
#1F3C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1F3C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3C07
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3C07#FFFFFF#000000##FFFFFF
##1F3C071.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#1F3932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f3c07;
/* rgb */ color: rgb(31, 60, 7);
/* oklch */ color: oklch(32.1% 0.085 134.5);
Tailwind
colors: {
  custom: {
    50: '#5e724b',
    500: '#1f3c07',
    950: '#000000',
  },
}
SCSS
$custom: #1f3c07;
$custom-light: #5e724b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3c07",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 92.83,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.08503,
    "h": 134.5
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#1F3C07
secondary
#54237B
accent
#32F69D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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