#1B2F07#1B2F07

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

Color values

HEX#1B2F07
RGBrgb(27, 47, 7)
HSLhsl(90, 74%, 11%)
HSVhsv(90, 85%, 18%)
CMYKcmyk(42.6%, 0%, 85.1%, 81.6%)
CIE-LABlab(16.90, -16.20, 21.10)
CIE-LCHlch(16.90, 26.60, 127.52°)
OKLaboklab(27.82% -0.0456 0.05)
OKLCHoklch(27.82% 0.068 132.4)
XYZxyz(1.5068, 2.2813, 0.5619)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F07 #1B072F
analogous
#2F2F07 #1B2F07 #072F07
triadic
#1B2F07 #071B2F #2F071B
tetradic
#1B2F07 #072F2F #1B072F #2F0707
square
#1B2F07 #072F2F #1B072F #2F0707
split-complementary
#1B2F07 #07072F #2F072F
monochromatic
#0F1B04 #0F1B04 #1B2F07 #3A640F #589A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2F07#FFFFFF#000000##FFFFFF
##1B2F071.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)
#312B03
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#1B2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f07;
/* rgb */ color: rgb(27, 47, 7);
/* oklch */ color: oklch(27.8% 0.068 132.4);
Tailwind
colors: {
  custom: {
    50: '#59674a',
    500: '#1b2f07',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f07;
$custom-light: #59674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f07",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 90,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27816,
    "c": 0.06767,
    "h": 132.4
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#1B2F07
secondary
#49236F
accent
#37F194
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1B2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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