#1F3207#1F3207

#1F3207 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.070 H 130.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#1F3207
RGBrgb(31, 50, 7)
HSLhsl(87, 75%, 11%)
HSVhsv(87, 86%, 20%)
CMYKcmyk(38%, 0%, 86%, 80.4%)
CIE-LABlab(18.31, -16.01, 22.87)
CIE-LCHlch(18.31, 27.92, 125.01°)
OKLaboklab(29.04% -0.0454 0.053)
OKLCHoklch(29.04% 0.07 130.6)
XYZxyz(1.7440, 2.5878, 0.6086)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3207 #1A0732
analogous
#322F07 #1F3207 #093207
triadic
#1F3207 #071F32 #32071F
tetradic
#1F3207 #07322F #1A0732 #320709
square
#1F3207 #07322F #1A0732 #320709
split-complementary
#1F3207 #070932 #2F0732
monochromatic
#111B04 #111B04 #1F3207 #40680F #629D16

Accessibility & contrast

On white

13.84
#1F3207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1F3207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3207
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3207#FFFFFF#000000##FFFFFF
##1F32071.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E02
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#202F2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f3207;
/* rgb */ color: rgb(31, 50, 7);
/* oklch */ color: oklch(29.0% 0.070 130.6);
Tailwind
colors: {
  custom: {
    50: '#5c6a4a',
    500: '#1f3207',
    950: '#000000',
  },
}
SCSS
$custom: #1f3207;
$custom-light: #5c6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3207",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 7
  },
  "hsl": {
    "h": 86.512,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29038,
    "c": 0.06983,
    "h": 130.6
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#1F3207
secondary
#462372
accent
#36F289
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F3207

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

Preview Lab → · Contrast checker → · Palette generator →

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