#1B2F0A#1B2F0A

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

Color values

HEX#1B2F0A
RGBrgb(27, 47, 10)
HSLhsl(92, 65%, 11%)
HSVhsv(92, 79%, 18%)
CMYKcmyk(42.6%, 0%, 78.7%, 81.6%)
CIE-LABlab(16.93, -15.88, 19.92)
CIE-LCHlch(16.93, 25.47, 128.57°)
OKLaboklab(27.85% -0.0444 0.0471)
OKLCHoklch(27.85% 0.065 133.3)
XYZxyz(1.5233, 2.2879, 0.6484)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F0A #1E0A2F
analogous
#2D2F0A #1B2F0A #0A2F0B
triadic
#1B2F0A #0A1B2F #2F0A1B
tetradic
#1B2F0A #0A2D2F #1E0A2F #2F0B0A
square
#1B2F0A #0A2D2F #1E0A2F #2F0B0A
split-complementary
#1B2F0A #0B0A2F #2F0A2D
monochromatic
#0E1905 #0E1905 #1B2F0A #386115 #55941F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2F0A#FFFFFF#000000##FFFFFF
##1B2F0A1.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)
#312B06
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#1B2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f0a;
/* rgb */ color: rgb(27, 47, 10);
/* oklch */ color: oklch(27.9% 0.065 133.3);
Tailwind
colors: {
  custom: {
    50: '#59674b',
    500: '#1b2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f0a;
$custom-light: #59674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f0a",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 92.432,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27852,
    "c": 0.06476,
    "h": 133.3
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#1B2F0A
secondary
#4D296C
accent
#40E89B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1B2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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