#1F2C00#1F2C00

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

Color values

HEX#1F2C00
RGBrgb(31, 44, 0)
HSLhsl(78, 100%, 9%)
HSVhsv(78, 100%, 17%)
CMYKcmyk(29.5%, 0%, 100%, 82.7%)
CIE-LABlab(15.97, -13.33, 22.85)
CIE-LCHlch(15.97, 26.46, 120.25°)
OKLaboklab(27.11% -0.0392 0.0558)
OKLCHoklch(27.11% 0.068 125.1)
XYZxyz(1.4658, 2.0926, 0.3267)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C00 #0D002C
analogous
#2C2300 #1F2C00 #092C00
triadic
#1F2C00 #001F2C #2C001F
tetradic
#1F2C00 #002C23 #0D002C #2C0009
square
#1F2C00 #002C23 #0D002C #2C0009
split-complementary
#1F2C00 #00092C #23002C
monochromatic
#161F00 #161F00 #1F2C00 #4A6900 #75A600

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F2C00#FFFFFF#000000##FFFFFF
##1F2C001.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)
#2D2803
Tritanopia (blue-blind)
#212924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1f2c00;
/* rgb */ color: rgb(31, 44, 0);
/* oklch */ color: oklch(27.1% 0.068 125.1);
Tailwind
colors: {
  custom: {
    50: '#5c6547',
    500: '#1f2c00',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c00;
$custom-light: #5c6547;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c00",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 0
  },
  "hsl": {
    "h": 77.727,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27108,
    "c": 0.06822,
    "h": 125.1
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#1F2C00
secondary
#301473
accent
#29FF68
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1F2C00

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

Preview Lab → · Contrast checker → · Palette generator →

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