#1F2B05#1F2B05

#1F2B05 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.061 H 125.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#1F2B05
RGBrgb(31, 43, 5)
HSLhsl(79, 79%, 9%)
HSVhsv(79, 88%, 17%)
CMYKcmyk(27.9%, 0%, 88.4%, 83.1%)
CIE-LABlab(15.64, -12.21, 20.41)
CIE-LCHlch(15.64, 23.78, 120.88°)
OKLaboklab(26.87% -0.0353 0.0496)
OKLCHoklch(26.87% 0.061 125.5)
XYZxyz(1.4564, 2.0300, 0.4587)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B05 #11052B
analogous
#2B2405 #1F2B05 #0C2B05
triadic
#1F2B05 #051F2B #2B051F
tetradic
#1F2B05 #052B24 #11052B #2B050C
square
#1F2B05 #052B24 #11052B #2B050C
split-complementary
#1F2B05 #050C2B #24052B
monochromatic
#141B03 #141B03 #1F2B05 #47620B #6E9912

Accessibility & contrast

On white

14.94
#1F2B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1F2B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B05
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B05#FFFFFF#000000##FFFFFF
##1F2B051.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2701
Deuteranopia (green-blind)
#2C2708
Tritanopia (blue-blind)
#212824
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1f2b05;
/* rgb */ color: rgb(31, 43, 5);
/* oklch */ color: oklch(26.9% 0.061 125.5);
Tailwind
colors: {
  custom: {
    50: '#5b6449',
    500: '#1f2b05',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b05;
$custom-light: #5b6449;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b05",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 78.947,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26865,
    "c": 0.06086,
    "h": 125.5
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#1F2B05
secondary
#381F6D
accent
#32F670
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F2B05

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

Preview Lab → · Contrast checker → · Palette generator →

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