#1F360C#1F360C

#1F360C is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.3% C 0.072 H 133.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1F360C
RGBrgb(31, 54, 12)
HSLhsl(93, 64%, 13%)
HSVhsv(93, 78%, 21%)
CMYKcmyk(42.6%, 0%, 77.8%, 78.8%)
CIE-LABlab(19.87, -17.71, 22.59)
CIE-LCHlch(19.87, 28.70, 128.09°)
OKLaboklab(30.32% -0.0495 0.052)
OKLCHoklch(30.32% 0.072 133.6)
XYZxyz(1.9506, 2.9561, 0.8156)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F360C #230C36
analogous
#34360C #1F360C #0C360E
triadic
#1F360C #0C1F36 #360C1F
tetradic
#1F360C #0C3436 #230C36 #360E0C
square
#1F360C #0C3436 #230C36 #360E0C
split-complementary
#1F360C #0E0C36 #360C34
monochromatic
#0E1906 #0E1906 #1F360C #3C6817 #589A22

Accessibility & contrast

On white

13.20
#1F360C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F360C
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F360C#FFFFFF#000000##FFFFFF
##1F360C1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383107
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#1F342D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f360c;
/* rgb */ color: rgb(31, 54, 12);
/* oklch */ color: oklch(30.3% 0.072 133.6);
Tailwind
colors: {
  custom: {
    50: '#5d6d4d',
    500: '#1f360c',
    950: '#000000',
  },
}
SCSS
$custom: #1f360c;
$custom-light: #5d6d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f360c",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 12
  },
  "hsl": {
    "h": 92.857,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30322,
    "c": 0.07178,
    "h": 133.6
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#1F360C
secondary
#522C72
accent
#41E79C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F360C

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

Preview Lab → · Contrast checker → · Palette generator →

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