#1F440C#1F440C

#1F440C is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.6% C 0.093 H 137.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1F440C
RGBrgb(31, 68, 12)
HSLhsl(100, 70%, 16%)
HSVhsv(100, 82%, 27%)
CMYKcmyk(54.4%, 0%, 82.4%, 73.3%)
CIE-LABlab(25.11, -24.68, 28.11)
CIE-LCHlch(25.11, 37.41, 131.27°)
OKLaboklab(34.62% -0.0684 0.0633)
OKLCHoklch(34.62% 0.093 137.2)
XYZxyz(2.6985, 4.4519, 1.0649)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F440C #310C44
analogous
#3B440C #1F440C #0C4415
triadic
#1F440C #0C1F44 #440C1F
tetradic
#1F440C #0C3B44 #310C44 #44150C
square
#1F440C #0C3B44 #310C44 #44150C
split-complementary
#1F440C #150C44 #440C3B
monochromatic
#0C1A05 #0C1A05 #1F440C #377815 #4EAC1E

Accessibility & contrast

On white

11.11
#1F440C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F440C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F440C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F440C#FFFFFF#000000##FFFFFF
##1F440C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D03
Deuteranopia (green-blind)
#423A12
Tritanopia (blue-blind)
#1D4139
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f440c;
/* rgb */ color: rgb(31, 68, 12);
/* oklch */ color: oklch(34.6% 0.093 137.2);
Tailwind
colors: {
  custom: {
    50: '#5f784f',
    500: '#1f440c',
    950: '#000000',
  },
}
SCSS
$custom: #1f440c;
$custom-light: #5f784f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f440c",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 12
  },
  "hsl": {
    "h": 99.643,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.0932,
    "h": 137.2
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#1F440C
secondary
#632C80
accent
#3BEDB0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F440C

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

Preview Lab → · Contrast checker → · Palette generator →

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