#1B2F09#1B2F09

#1B2F09 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.066 H 133.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#1B2F09
RGBrgb(27, 47, 9)
HSLhsl(92, 68%, 11%)
HSVhsv(92, 81%, 18%)
CMYKcmyk(42.6%, 0%, 80.9%, 81.6%)
CIE-LABlab(16.92, -15.99, 20.31)
CIE-LCHlch(16.92, 25.85, 128.21°)
OKLaboklab(27.84% -0.0448 0.0481)
OKLCHoklch(27.84% 0.066 133)
XYZxyz(1.5178, 2.2857, 0.6196)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F09 #1D092F
analogous
#2E2F09 #1B2F09 #092F0A
triadic
#1B2F09 #091B2F #2F091B
tetradic
#1B2F09 #092E2F #1D092F #2F0A09
square
#1B2F09 #092E2F #1D092F #2F0A09
split-complementary
#1B2F09 #0A092F #2F092E
monochromatic
#0F1A05 #0F1A05 #1B2F09 #396213 #56961D

Accessibility & contrast

On white

14.41
#1B2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B2F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F09
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F09#FFFFFF#000000##FFFFFF
##1B2F091.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B05
Deuteranopia (green-blind)
#2E290C
Tritanopia (blue-blind)
#1B2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f09;
/* rgb */ color: rgb(27, 47, 9);
/* oklch */ color: oklch(27.8% 0.066 133.0);
Tailwind
colors: {
  custom: {
    50: '#59674b',
    500: '#1b2f09',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f09;
$custom-light: #59674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f09",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 91.579,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2784,
    "c": 0.06571,
    "h": 133
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#1B2F09
secondary
#4C276D
accent
#3DEB98
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1B2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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