#1F360A#1F360A

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

Color values

HEX#1F360A
RGBrgb(31, 54, 10)
HSLhsl(91, 69%, 13%)
HSVhsv(91, 81%, 21%)
CMYKcmyk(42.6%, 0%, 81.5%, 78.8%)
CIE-LABlab(19.85, -17.90, 23.43)
CIE-LCHlch(19.85, 29.48, 127.38°)
OKLaboklab(30.3% -0.0502 0.0537)
OKLCHoklch(30.3% 0.074 133.1)
XYZxyz(1.9390, 2.9515, 0.7546)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F360A #210A36
analogous
#35360A #1F360A #0A360B
triadic
#1F360A #0A1F36 #360A1F
tetradic
#1F360A #0A3536 #210A36 #360B0A
square
#1F360A #0A3536 #210A36 #360B0A
split-complementary
#1F360A #0B0A36 #360A35
monochromatic
#0F1A05 #0F1A05 #1F360A #3D6A14 #5A9D1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F360A#FFFFFF#000000##FFFFFF
##1F360A1.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)
#393104
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#1F332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f360a;
/* rgb */ color: rgb(31, 54, 10);
/* oklch */ color: oklch(30.3% 0.073 133.1);
Tailwind
colors: {
  custom: {
    50: '#5d6d4c',
    500: '#1f360a',
    950: '#000000',
  },
}
SCSS
$custom: #1f360a;
$custom-light: #5d6d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f360a",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 10
  },
  "hsl": {
    "h": 91.364,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30301,
    "c": 0.0735,
    "h": 133.1
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#1F360A
secondary
#502873
accent
#3CEC98
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F360A

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

Preview Lab → · Contrast checker → · Palette generator →

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