#1B3F06#1B3F06

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

Color values

HEX#1B3F06
RGBrgb(27, 63, 6)
HSLhsl(98, 83%, 14%)
HSVhsv(98, 90%, 25%)
CMYKcmyk(57.1%, 0%, 90.5%, 75.3%)
CIE-LABlab(23.00, -24.29, 28.41)
CIE-LCHlch(23.00, 37.37, 130.53°)
OKLaboklab(32.82% -0.0675 0.0632)
OKLCHoklch(32.82% 0.092 136.9)
XYZxyz(2.2623, 3.8010, 0.7867)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F06 #2A063F
analogous
#373F06 #1B3F06 #063F0D
triadic
#1B3F06 #061B3F #3F061B
tetradic
#1B3F06 #06373F #2A063F #3F0D06
square
#1B3F06 #06373F #2A063F #3F0D06
split-complementary
#1B3F06 #0D063F #3F0637
monochromatic
#0C1C03 #0C1C03 #1B3F06 #33770B #4BAF11

Accessibility & contrast

On white

11.93
#1B3F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3F06
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F06#FFFFFF#000000##FFFFFF
##1B3F061.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#193C35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b3f06;
/* rgb */ color: rgb(27, 63, 6);
/* oklch */ color: oklch(32.8% 0.092 136.9);
Tailwind
colors: {
  custom: {
    50: '#5c744b',
    500: '#1b3f06',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f06;
$custom-light: #5c744b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f06",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 97.895,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32818,
    "c": 0.09248,
    "h": 136.9
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#1B3F06
secondary
#5D227F
accent
#2FF9AE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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