#1F3306#1F3306

#1F3306 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.3% C 0.072 H 130.8°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1F3306
RGBrgb(31, 51, 6)
HSLhsl(87, 79%, 11%)
HSVhsv(87, 88%, 20%)
CMYKcmyk(39.2%, 0%, 88.2%, 80%)
CIE-LABlab(18.68, -16.66, 23.71)
CIE-LCHlch(18.68, 28.97, 125.09°)
OKLaboklab(29.34% -0.0473 0.0547)
OKLCHoklch(29.34% 0.072 130.8)
XYZxyz(1.7818, 2.6720, 0.5941)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3306 #1A0633
analogous
#333006 #1F3306 #083306
triadic
#1F3306 #061F33 #33061F
tetradic
#1F3306 #063330 #1A0633 #330608
square
#1F3306 #063330 #1A0633 #330608
split-complementary
#1F3306 #060833 #300633
monochromatic
#111B03 #111B03 #1F3306 #406A0C #62A113

Accessibility & contrast

On white

13.69
#1F3306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1F3306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3306
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3306#FFFFFF#000000##FFFFFF
##1F33061.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E01
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#20302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f3306;
/* rgb */ color: rgb(31, 51, 6);
/* oklch */ color: oklch(29.3% 0.072 130.8);
Tailwind
colors: {
  custom: {
    50: '#5d6a4a',
    500: '#1f3306',
    950: '#000000',
  },
}
SCSS
$custom: #1f3306;
$custom-light: #5d6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3306",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 86.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.07232,
    "h": 130.8
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#1F3306
secondary
#462174
accent
#32F589
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F3306

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

Preview Lab → · Contrast checker → · Palette generator →

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