#1F300E#1F300E

#1F300E is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.060 H 131.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1F300E
RGBrgb(31, 48, 14)
HSLhsl(90, 55%, 12%)
HSVhsv(90, 71%, 19%)
CMYKcmyk(35.4%, 0%, 70.8%, 81.2%)
CIE-LABlab(17.63, -14.17, 19.01)
CIE-LCHlch(17.63, 23.71, 126.69°)
OKLaboklab(28.51% -0.0396 0.0447)
OKLCHoklch(28.51% 0.06 131.5)
XYZxyz(1.7013, 2.4369, 0.7961)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F300E #1F0E30
analogous
#30300E #1F300E #0E300E
triadic
#1F300E #0E1F30 #300E1F
tetradic
#1F300E #0E3030 #1F0E30 #300E0E
square
#1F300E #0E3030 #1F0E30 #300E0E
split-complementary
#1F300E #0E0E30 #300E30
monochromatic
#0F1807 #0F1807 #1F300E #3E5F1C #5C8F2A

Accessibility & contrast

On white

14.12
#1F300E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1F300E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F300E
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F300E#FFFFFF#000000##FFFFFF
##1F300E1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0A
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#202E29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1f300e;
/* rgb */ color: rgb(31, 48, 14);
/* oklch */ color: oklch(28.5% 0.060 131.5);
Tailwind
colors: {
  custom: {
    50: '#5c684e',
    500: '#1f300e',
    950: '#000000',
  },
}
SCSS
$custom: #1f300e;
$custom-light: #5c684e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f300e",
  "rgb": {
    "r": 31,
    "g": 48,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28508,
    "c": 0.05976,
    "h": 131.5
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#1F300E
secondary
#4D2F6A
accent
#4ADE94
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F300E

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

Preview Lab → · Contrast checker → · Palette generator →

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