#1F2C01#1F2C01

#1F2C01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.067 H 125.3°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1F2C01
RGBrgb(31, 44, 1)
HSLhsl(78, 96%, 9%)
HSVhsv(78, 98%, 17%)
CMYKcmyk(29.5%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.98, -13.22, 22.46)
CIE-LCHlch(15.98, 26.07, 120.49°)
OKLaboklab(27.12% -0.0388 0.0547)
OKLCHoklch(27.12% 0.067 125.3)
XYZxyz(1.4712, 2.0948, 0.3555)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C01 #0E012C
analogous
#2C2401 #1F2C01 #0A2C01
triadic
#1F2C01 #011F2C #2C011F
tetradic
#1F2C01 #012C24 #0E012C #2C010A
square
#1F2C01 #012C24 #0E012C #2C010A
split-complementary
#1F2C01 #010A2C #24012C
monochromatic
#151E01 #151E01 #1F2C01 #496802 #73A404

Accessibility & contrast

On white

14.80
#1F2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1F2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C01
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C01#FFFFFF#000000##FFFFFF
##1F2C011.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2D2804
Tritanopia (blue-blind)
#212924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1f2c01;
/* rgb */ color: rgb(31, 44, 1);
/* oklch */ color: oklch(27.1% 0.067 125.3);
Tailwind
colors: {
  custom: {
    50: '#5c6547',
    500: '#1f2c01',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c01;
$custom-light: #5c6547;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c01",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 78.14,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27121,
    "c": 0.06702,
    "h": 125.3
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#1F2C01
secondary
#321772
accent
#29FF6A
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1F2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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