#1F360B#1F360B

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

Color values

HEX#1F360B
RGBrgb(31, 54, 11)
HSLhsl(92, 66%, 13%)
HSVhsv(92, 80%, 21%)
CMYKcmyk(42.6%, 0%, 79.6%, 78.8%)
CIE-LABlab(19.86, -17.81, 23.02)
CIE-LCHlch(19.86, 29.10, 127.72°)
OKLaboklab(30.31% -0.0499 0.0528)
OKLCHoklch(30.31% 0.073 133.4)
XYZxyz(1.9446, 2.9537, 0.7842)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F360B #220B36
analogous
#34360B #1F360B #0B360C
triadic
#1F360B #0B1F36 #360B1F
tetradic
#1F360B #0B3436 #220B36 #360C0B
square
#1F360B #0B3436 #220B36 #360C0B
split-complementary
#1F360B #0C0B36 #360B34
monochromatic
#0F1905 #0F1905 #1F360B #3C6915 #599C20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F360B#FFFFFF#000000##FFFFFF
##1F360B1.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)
#393106
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#1F342D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f360b;
/* rgb */ color: rgb(31, 54, 11);
/* oklch */ color: oklch(30.3% 0.073 133.4);
Tailwind
colors: {
  custom: {
    50: '#5d6d4d',
    500: '#1f360b',
    950: '#000000',
  },
}
SCSS
$custom: #1f360b;
$custom-light: #5d6d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f360b",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 11
  },
  "hsl": {
    "h": 92.093,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30311,
    "c": 0.07266,
    "h": 133.4
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#1F360B
secondary
#512A73
accent
#3FE99A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F360B

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

Preview Lab → · Contrast checker → · Palette generator →

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