#1B3F04#1B3F04

#1B3F04 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.8% C 0.094 H 136.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1B3F04
RGBrgb(27, 63, 4)
HSLhsl(97, 88%, 13%)
HSVhsv(97, 94%, 25%)
CMYKcmyk(57.1%, 0%, 93.7%, 75.3%)
CIE-LABlab(22.99, -24.45, 29.21)
CIE-LCHlch(22.99, 38.09, 129.94°)
OKLaboklab(32.8% -0.0682 0.0647)
OKLCHoklch(32.8% 0.094 136.5)
XYZxyz(2.2514, 3.7966, 0.7290)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F04 #28043F
analogous
#383F04 #1B3F04 #043F0A
triadic
#1B3F04 #041B3F #3F041B
tetradic
#1B3F04 #04383F #28043F #3F0A04
square
#1B3F04 #04383F #28043F #3F0A04
split-complementary
#1B3F04 #0A043F #3F0438
monochromatic
#0C1D02 #0C1D02 #1B3F04 #347908 #4CB20B

Accessibility & contrast

On white

11.94
#1B3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B3F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F04
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F04#FFFFFF#000000##FFFFFF
##1B3F041.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#193C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b3f04;
/* rgb */ color: rgb(27, 63, 4);
/* oklch */ color: oklch(32.8% 0.094 136.5);
Tailwind
colors: {
  custom: {
    50: '#5c744a',
    500: '#1b3f04',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f04;
$custom-light: #5c744a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f04",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 96.61,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32801,
    "c": 0.09396,
    "h": 136.5
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#1B3F04
secondary
#5A1E80
accent
#2AFEAB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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