#1F3205#1F3205

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

Color values

HEX#1F3205
RGBrgb(31, 50, 5)
HSLhsl(85, 82%, 11%)
HSVhsv(85, 90%, 20%)
CMYKcmyk(38%, 0%, 90%, 80.4%)
CIE-LABlab(18.29, -16.21, 23.66)
CIE-LCHlch(18.29, 28.68, 124.41°)
OKLaboklab(29.02% -0.0462 0.0549)
OKLCHoklch(29.02% 0.072 130.1)
XYZxyz(1.7331, 2.5834, 0.5509)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3205 #180532
analogous
#322E05 #1F3205 #093205
triadic
#1F3205 #051F32 #32051F
tetradic
#1F3205 #05322E #180532 #320509
square
#1F3205 #05322E #180532 #320509
split-complementary
#1F3205 #050932 #2E0532
monochromatic
#111C03 #111C03 #1F3205 #416A0B #64A110

Accessibility & contrast

On white

13.85
#1F3205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3205
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3205#FFFFFF#000000##FFFFFF
##1F32051.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#202F29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f3205;
/* rgb */ color: rgb(31, 50, 5);
/* oklch */ color: oklch(29.0% 0.072 130.1);
Tailwind
colors: {
  custom: {
    50: '#5c6a49',
    500: '#1f3205',
    950: '#000000',
  },
}
SCSS
$custom: #1f3205;
$custom-light: #5c6a49;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3205",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 5
  },
  "hsl": {
    "h": 85.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29016,
    "c": 0.07173,
    "h": 130.1
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#1F3205
secondary
#431F73
accent
#30F884
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F3205

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

Preview Lab → · Contrast checker → · Palette generator →

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