#1F3608#1F3608

#1F3608 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.075 H 132.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1F3608
RGBrgb(31, 54, 8)
HSLhsl(90, 74%, 12%)
HSVhsv(90, 85%, 21%)
CMYKcmyk(42.6%, 0%, 85.2%, 78.8%)
CIE-LABlab(19.83, -18.08, 24.22)
CIE-LCHlch(19.83, 30.23, 126.74°)
OKLaboklab(30.28% -0.0509 0.0553)
OKLCHoklch(30.28% 0.075 132.6)
XYZxyz(1.9280, 2.9471, 0.6969)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3608 #1F0836
analogous
#363608 #1F3608 #083608
triadic
#1F3608 #081F36 #36081F
tetradic
#1F3608 #083636 #1F0836 #360808
square
#1F3608 #083636 #1F0836 #360808
split-complementary
#1F3608 #080836 #360836
monochromatic
#0F1B04 #0F1B04 #1F3608 #3E6B10 #5CA118

Accessibility & contrast

On white

13.21
#1F3608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3608
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3608#FFFFFF#000000##FFFFFF
##1F36081.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393102
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#1F332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3608;
/* rgb */ color: rgb(31, 54, 8);
/* oklch */ color: oklch(30.3% 0.075 132.6);
Tailwind
colors: {
  custom: {
    50: '#5d6d4b',
    500: '#1f3608',
    950: '#000000',
  },
}
SCSS
$custom: #1f3608;
$custom-light: #5d6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3608",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 90,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.07518,
    "h": 132.6
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#1F3608
secondary
#4D2575
accent
#37F194
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3608

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

Preview Lab → · Contrast checker → · Palette generator →

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