#1F2B00#1F2B00

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

Color values

HEX#1F2B00
RGBrgb(31, 43, 0)
HSLhsl(77, 100%, 8%)
HSVhsv(77, 100%, 17%)
CMYKcmyk(27.9%, 0%, 100%, 83.1%)
CIE-LABlab(15.59, -12.74, 22.38)
CIE-LCHlch(15.59, 25.75, 119.66°)
OKLaboklab(26.8% -0.0377 0.0552)
OKLCHoklch(26.8% 0.067 124.3)
XYZxyz(1.4290, 2.0190, 0.3144)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B00 #0C002B
analogous
#2B2100 #1F2B00 #092B00
triadic
#1F2B00 #001F2B #2B001F
tetradic
#1F2B00 #002B21 #0C002B #2B0009
square
#1F2B00 #002B21 #0C002B #2B0009
split-complementary
#1F2B00 #00092B #21002B
monochromatic
#161F00 #161F00 #1F2B00 #4B6800 #77A500

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F2B00#FFFFFF#000000##FFFFFF
##1F2B001.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)
#2D2703
Tritanopia (blue-blind)
#212823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1f2b00;
/* rgb */ color: rgb(31, 43, 0);
/* oklch */ color: oklch(26.8% 0.067 124.3);
Tailwind
colors: {
  custom: {
    50: '#5c6447',
    500: '#1f2b00',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b00;
$custom-light: #5c6447;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b00",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 0
  },
  "hsl": {
    "h": 76.744,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.268,
    "c": 0.0668,
    "h": 124.3
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#1F2B00
secondary
#2F1473
accent
#29FF65
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1F2B00

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

Preview Lab → · Contrast checker → · Palette generator →

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