#1B2F08#1B2F08

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

Color values

HEX#1B2F08
RGBrgb(27, 47, 8)
HSLhsl(91, 71%, 11%)
HSVhsv(91, 83%, 18%)
CMYKcmyk(42.6%, 0%, 83%, 81.6%)
CIE-LABlab(16.91, -16.09, 20.70)
CIE-LCHlch(16.91, 26.22, 127.86°)
OKLaboklab(27.83% -0.0452 0.049)
OKLCHoklch(27.83% 0.067 132.7)
XYZxyz(1.5123, 2.2835, 0.5908)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F08 #1C082F
analogous
#2E2F08 #1B2F08 #082F08
triadic
#1B2F08 #081B2F #2F081B
tetradic
#1B2F08 #082E2F #1C082F #2F0808
square
#1B2F08 #082E2F #1C082F #2F0808
split-complementary
#1B2F08 #08082F #2F082E
monochromatic
#0F1A04 #0F1A04 #1B2F08 #396311 #57981A

Accessibility & contrast

On white

14.42
#1B2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F08
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F08#FFFFFF#000000##FFFFFF
##1B2F081.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2f08;
/* rgb */ color: rgb(27, 47, 8);
/* oklch */ color: oklch(27.8% 0.067 132.7);
Tailwind
colors: {
  custom: {
    50: '#59674b',
    500: '#1b2f08',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f08;
$custom-light: #59674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f08",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 90.769,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.06669,
    "h": 132.7
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#1B2F08
secondary
#4A256E
accent
#3AEE96
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1B2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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