#1B3E08#1B3E08

#1B3E08 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.5% C 0.090 H 137.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1B3E08
RGBrgb(27, 62, 8)
HSLhsl(99, 77%, 14%)
HSVhsv(99, 87%, 24%)
CMYKcmyk(56.5%, 0%, 87.1%, 75.7%)
CIE-LABlab(22.64, -23.65, 27.22)
CIE-LCHlch(22.64, 36.06, 131.00°)
OKLaboklab(32.52% -0.0657 0.061)
OKLCHoklch(32.52% 0.09 137.1)
XYZxyz(2.2184, 3.6956, 0.8261)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E08 #2B083E
analogous
#363E08 #1B3E08 #083E10
triadic
#1B3E08 #081B3E #3E081B
tetradic
#1B3E08 #08363E #2B083E #3E1008
square
#1B3E08 #08363E #2B083E #3E1008
split-complementary
#1B3E08 #10083E #3E0836
monochromatic
#0C1B03 #0C1B03 #1B3E08 #33740F #4AAA16

Accessibility & contrast

On white

12.07
#1B3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E08
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E08#FFFFFF#000000##FFFFFF
##1B3E081.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403801
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#193B34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b3e08;
/* rgb */ color: rgb(27, 62, 8);
/* oklch */ color: oklch(32.5% 0.090 137.1);
Tailwind
colors: {
  custom: {
    50: '#5c734c',
    500: '#1b3e08',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e08;
$custom-light: #5c734c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e08",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 98.889,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.08962,
    "h": 137.1
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#1B3E08
secondary
#5E257D
accent
#34F4B0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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