#1F2E01#1F2E01

#1F2E01 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.7% C 0.070 H 126.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1F2E01
RGBrgb(31, 46, 1)
HSLhsl(80, 96%, 9%)
HSVhsv(80, 98%, 18%)
CMYKcmyk(32.6%, 0%, 97.8%, 82%)
CIE-LABlab(16.74, -14.37, 23.41)
CIE-LCHlch(16.74, 27.47, 121.56°)
OKLaboklab(27.74% -0.0419 0.056)
OKLCHoklch(27.74% 0.07 126.8)
XYZxyz(1.5476, 2.2475, 0.3810)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E01 #10012E
analogous
#2E2701 #1F2E01 #092E01
triadic
#1F2E01 #011F2E #2E011F
tetradic
#1F2E01 #012E27 #10012E #2E0109
square
#1F2E01 #012E27 #10012E #2E0109
split-complementary
#1F2E01 #01092E #27012E
monochromatic
#141E01 #141E01 #1F2E01 #476A02 #70A604

Accessibility & contrast

On white

14.49
#1F2E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1F2E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E01
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E01#FFFFFF#000000##FFFFFF
##1F2E011.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#212B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2e01;
/* rgb */ color: rgb(31, 46, 1);
/* oklch */ color: oklch(27.7% 0.070 126.8);
Tailwind
colors: {
  custom: {
    50: '#5c6647',
    500: '#1f2e01',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e01;
$custom-light: #5c6647;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e01",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 80,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27737,
    "c": 0.06993,
    "h": 126.8
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#1F2E01
secondary
#361774
accent
#29FF70
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1F2E01

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

Preview Lab → · Contrast checker → · Palette generator →

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