#1F360F#1F360F

#1F360F is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.4% C 0.069 H 134.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1F360F
RGBrgb(31, 54, 15)
HSLhsl(95, 57%, 14%)
HSVhsv(95, 72%, 21%)
CMYKcmyk(42.6%, 0%, 72.2%, 78.8%)
CIE-LABlab(19.90, -17.38, 21.15)
CIE-LCHlch(19.90, 27.38, 129.42°)
OKLaboklab(30.36% -0.0483 0.0491)
OKLCHoklch(30.36% 0.069 134.5)
XYZxyz(1.9704, 2.9640, 0.9201)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F360F #260F36
analogous
#32360F #1F360F #0F3612
triadic
#1F360F #0F1F36 #360F1F
tetradic
#1F360F #0F3236 #260F36 #36120F
square
#1F360F #0F3236 #260F36 #36120F
split-complementary
#1F360F #120F36 #360F32
monochromatic
#0E1807 #0E1807 #1F360F #3A661C #56962A

Accessibility & contrast

On white

13.18
#1F360F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F360F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F360F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F360F#FFFFFF#000000##FFFFFF
##1F360F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#1F342E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f360f;
/* rgb */ color: rgb(31, 54, 15);
/* oklch */ color: oklch(30.4% 0.069 134.5);
Tailwind
colors: {
  custom: {
    50: '#5d6d4f',
    500: '#1f360f',
    950: '#000000',
  },
}
SCSS
$custom: #1f360f;
$custom-light: #5d6d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f360f",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 15
  },
  "hsl": {
    "h": 95.385,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30359,
    "c": 0.06892,
    "h": 134.5
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#1F360F
secondary
#563170
accent
#48E0A2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #1F360F

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

Preview Lab → · Contrast checker → · Palette generator →

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