#1B3E07#1B3E07

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

Color values

HEX#1B3E07
RGBrgb(27, 62, 7)
HSLhsl(98, 80%, 14%)
HSVhsv(98, 89%, 24%)
CMYKcmyk(56.5%, 0%, 88.7%, 75.7%)
CIE-LABlab(22.63, -23.74, 27.61)
CIE-LCHlch(22.63, 36.42, 130.68°)
OKLaboklab(32.51% -0.066 0.0617)
OKLCHoklch(32.51% 0.09 136.9)
XYZxyz(2.2129, 3.6934, 0.7973)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E07 #2A073E
analogous
#363E07 #1B3E07 #073E0E
triadic
#1B3E07 #071B3E #3E071B
tetradic
#1B3E07 #07363E #2A073E #3E0E07
square
#1B3E07 #07363E #2A073E #3E0E07
split-complementary
#1B3E07 #0E073E #3E0736
monochromatic
#0C1B03 #0C1B03 #1B3E07 #33750D #4BAC13

Accessibility & contrast

On white

12.08
#1B3E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3E07
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E07#FFFFFF#000000##FFFFFF
##1B3E071.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3e07;
/* rgb */ color: rgb(27, 62, 7);
/* oklch */ color: oklch(32.5% 0.090 136.9);
Tailwind
colors: {
  custom: {
    50: '#5c734c',
    500: '#1b3e07',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e07;
$custom-light: #5c734c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e07",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 98.182,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.09034,
    "h": 136.9
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#1B3E07
secondary
#5D247D
accent
#32F6AF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3E07

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

Preview Lab → · Contrast checker → · Palette generator →

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