#1B370B#1B370B

#1B370B is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.4% C 0.077 H 136.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1B370B
RGBrgb(27, 55, 11)
HSLhsl(98, 67%, 13%)
HSVhsv(98, 80%, 22%)
CMYKcmyk(50.9%, 0%, 80%, 78.4%)
CIE-LABlab(20.00, -19.99, 23.12)
CIE-LCHlch(20.00, 30.57, 130.85°)
OKLaboklab(30.37% -0.0555 0.0531)
OKLCHoklch(30.37% 0.077 136.3)
XYZxyz(1.8785, 2.9894, 0.7946)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B370B #270B37
analogous
#31370B #1B370B #0B3711
triadic
#1B370B #0B1B37 #370B1B
tetradic
#1B370B #0B3137 #270B37 #37110B
square
#1B370B #0B3137 #270B37 #37110B
split-complementary
#1B370B #110B37 #370B31
monochromatic
#0D1A05 #0D1A05 #1B370B #346A15 #4D9D1F

Accessibility & contrast

On white

13.14
#1B370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B370B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B370B
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B370B#FFFFFF#000000##FFFFFF
##1B370B1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393205
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#1A352E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b370b;
/* rgb */ color: rgb(27, 55, 11);
/* oklch */ color: oklch(30.4% 0.077 136.3);
Tailwind
colors: {
  custom: {
    50: '#5a6e4d',
    500: '#1b370b',
    950: '#000000',
  },
}
SCSS
$custom: #1b370b;
$custom-light: #5a6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b370b",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 98.182,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30365,
    "c": 0.0768,
    "h": 136.3
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#1B370B
secondary
#592A74
accent
#3EEAAB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B370B

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

Preview Lab → · Contrast checker → · Palette generator →

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