#1B2E07#1B2E07

#1B2E07 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.066 H 131.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#1B2E07
RGBrgb(27, 46, 7)
HSLhsl(89, 74%, 10%)
HSVhsv(89, 85%, 18%)
CMYKcmyk(41.3%, 0%, 84.8%, 82%)
CIE-LABlab(16.52, -15.65, 20.63)
CIE-LCHlch(16.52, 25.89, 127.19°)
OKLaboklab(27.5% -0.0441 0.0492)
OKLCHoklch(27.5% 0.066 131.9)
XYZxyz(1.4673, 2.2023, 0.5487)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E07 #1A072E
analogous
#2E2D07 #1B2E07 #072E07
triadic
#1B2E07 #071B2E #2E071B
tetradic
#1B2E07 #072E2D #1A072E #2E0707
square
#1B2E07 #072E2D #1A072E #2E0707
split-complementary
#1B2E07 #07072E #2D072E
monochromatic
#101B04 #101B04 #1B2E07 #3A630F #599817

Accessibility & contrast

On white

14.58
#1B2E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1B2E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E07
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E07#FFFFFF#000000##FFFFFF
##1B2E071.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#1C2C26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b2e07;
/* rgb */ color: rgb(27, 46, 7);
/* oklch */ color: oklch(27.5% 0.066 131.9);
Tailwind
colors: {
  custom: {
    50: '#59674a',
    500: '#1b2e07',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e07;
$custom-light: #59674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e07",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 89.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27502,
    "c": 0.06606,
    "h": 131.9
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#1B2E07
secondary
#47236E
accent
#38F092
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1B2E07

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

Preview Lab → · Contrast checker → · Palette generator →

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