#1F2B08#1F2B08

#1F2B08 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.058 H 126.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1F2B08
RGBrgb(31, 43, 8)
HSLhsl(81, 69%, 10%)
HSVhsv(81, 81%, 17%)
CMYKcmyk(27.9%, 0%, 81.4%, 83.1%)
CIE-LABlab(15.68, -11.89, 19.23)
CIE-LCHlch(15.68, 22.61, 121.72°)
OKLaboklab(26.9% -0.034 0.0464)
OKLCHoklch(26.9% 0.058 126.2)
XYZxyz(1.4728, 2.0366, 0.5452)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B08 #14082B
analogous
#2B2508 #1F2B08 #0E2B08
triadic
#1F2B08 #081F2B #2B081F
tetradic
#1F2B08 #082B25 #14082B #2B080E
square
#1F2B08 #082B25 #14082B #2B080E
split-complementary
#1F2B08 #080E2B #25082B
monochromatic
#131A05 #131A05 #1F2B08 #445F12 #69921B

Accessibility & contrast

On white

14.92
#1F2B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2B08
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B08#FFFFFF#000000##FFFFFF
##1F2B081.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#212924
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1f2b08;
/* rgb */ color: rgb(31, 43, 8);
/* oklch */ color: oklch(26.9% 0.058 126.2);
Tailwind
colors: {
  custom: {
    50: '#5b644a',
    500: '#1f2b08',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b08;
$custom-light: #5b644a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b08",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 80.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.26903,
    "c": 0.05755,
    "h": 126.2
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#1F2B08
secondary
#3D256A
accent
#3CEB78
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F2B08

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

Preview Lab → · Contrast checker → · Palette generator →

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