#1B2D07#1B2D07

#1B2D07 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.064 H 131.4°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#1B2D07
RGBrgb(27, 45, 7)
HSLhsl(88, 73%, 10%)
HSVhsv(88, 84%, 18%)
CMYKcmyk(40%, 0%, 84.4%, 82.4%)
CIE-LABlab(16.13, -15.10, 20.15)
CIE-LCHlch(16.13, 25.17, 126.85°)
OKLaboklab(27.19% -0.0426 0.0483)
OKLCHoklch(27.19% 0.064 131.4)
XYZxyz(1.4287, 2.1251, 0.5359)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D07 #19072D
analogous
#2D2C07 #1B2D07 #082D07
triadic
#1B2D07 #071B2D #2D071B
tetradic
#1B2D07 #072D2C #19072D #2D0708
square
#1B2D07 #072D2C #19072D #2D0708
split-complementary
#1B2D07 #07082D #2C072D
monochromatic
#101A04 #101A04 #1B2D07 #3B620F #5B9717

Accessibility & contrast

On white

14.74
#1B2D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B2D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D07
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D07#FFFFFF#000000##FFFFFF
##1B2D071.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2903
Deuteranopia (green-blind)
#2D280A
Tritanopia (blue-blind)
#1C2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b2d07;
/* rgb */ color: rgb(27, 45, 7);
/* oklch */ color: oklch(27.2% 0.064 131.4);
Tailwind
colors: {
  custom: {
    50: '#59664a',
    500: '#1b2d07',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d07;
$custom-light: #59664a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d07",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 88.421,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27189,
    "c": 0.06445,
    "h": 131.4
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#1B2D07
secondary
#46236D
accent
#38F08F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #1B2D07

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

Preview Lab → · Contrast checker → · Palette generator →

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