#1F2B01#1F2B01

#1F2B01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.066 H 124.5°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1F2B01
RGBrgb(31, 43, 1)
HSLhsl(77, 95%, 9%)
HSVhsv(77, 98%, 17%)
CMYKcmyk(27.9%, 0%, 97.7%, 83.1%)
CIE-LABlab(15.60, -12.64, 21.98)
CIE-LCHlch(15.60, 25.36, 119.89°)
OKLaboklab(26.81% -0.0372 0.054)
OKLCHoklch(26.81% 0.066 124.5)
XYZxyz(1.4344, 2.0212, 0.3433)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B01 #0D012B
analogous
#2B2201 #1F2B01 #0A2B01
triadic
#1F2B01 #011F2B #2B011F
tetradic
#1F2B01 #012B22 #0D012B #2B010A
square
#1F2B01 #012B22 #0D012B #2B010A
split-complementary
#1F2B01 #010A2B #22012B
monochromatic
#161E01 #161E01 #1F2B01 #4A6702 #75A304

Accessibility & contrast

On white

14.96
#1F2B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1F2B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B01
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B01#FFFFFF#000000##FFFFFF
##1F2B011.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#212823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1f2b01;
/* rgb */ color: rgb(31, 43, 1);
/* oklch */ color: oklch(26.8% 0.066 124.5);
Tailwind
colors: {
  custom: {
    50: '#5c6447',
    500: '#1f2b01',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b01;
$custom-light: #5c6447;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b01",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 77.143,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26813,
    "c": 0.06557,
    "h": 124.5
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#1F2B01
secondary
#301771
accent
#29FF66
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1F2B01

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

Preview Lab → · Contrast checker → · Palette generator →

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