#1F4603#1F4603

#1F4603 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.2% C 0.102 H 136.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1F4603
RGBrgb(31, 70, 3)
HSLhsl(95, 92%, 14%)
HSVhsv(95, 96%, 27%)
CMYKcmyk(55.7%, 0%, 95.7%, 72.5%)
CIE-LABlab(25.80, -26.26, 32.42)
CIE-LCHlch(25.80, 41.72, 129.01°)
OKLaboklab(35.16% -0.0734 0.0706)
OKLCHoklch(35.16% 0.102 136.1)
XYZxyz(2.7716, 4.6780, 0.8430)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4603 #2A0346
analogous
#414603 #1F4603 #034608
triadic
#1F4603 #031F46 #46031F
tetradic
#1F4603 #034146 #2A0346 #460803
square
#1F4603 #034146 #2A0346 #460803
split-complementary
#1F4603 #080346 #460341
monochromatic
#0D1D01 #0D1D01 #1F4603 #398106 #53BB08

Accessibility & contrast

On white

10.85
#1F4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1F4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4603
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4603#FFFFFF#000000##FFFFFF
##1F46031.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#443C0B
Tritanopia (blue-blind)
#1D433A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f4603;
/* rgb */ color: rgb(31, 70, 3);
/* oklch */ color: oklch(35.2% 0.102 136.1);
Tailwind
colors: {
  custom: {
    50: '#607a4b',
    500: '#1f4603',
    950: '#000000',
  },
}
SCSS
$custom: #1f4603;
$custom-light: #607a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4603",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 94.925,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35164,
    "c": 0.10184,
    "h": 136.1
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#1F4603
secondary
#5B1D87
accent
#29FFA5
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050901
muted
#797B77

Preview Lab

Preview with #1F4603

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

Preview Lab → · Contrast checker → · Palette generator →

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