#1F2B06#1F2B06

#1F2B06 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.060 H 125.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#1F2B06
RGBrgb(31, 43, 6)
HSLhsl(79, 76%, 10%)
HSVhsv(79, 86%, 17%)
CMYKcmyk(27.9%, 0%, 86%, 83.1%)
CIE-LABlab(15.66, -12.10, 20.02)
CIE-LCHlch(15.66, 23.39, 121.16°)
OKLaboklab(26.88% -0.0349 0.0485)
OKLCHoklch(26.88% 0.06 125.7)
XYZxyz(1.4618, 2.0322, 0.4875)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B06 #12062B
analogous
#2B2506 #1F2B06 #0D2B06
triadic
#1F2B06 #061F2B #2B061F
tetradic
#1F2B06 #062B25 #12062B #2B060D
square
#1F2B06 #062B25 #12062B #2B060D
split-complementary
#1F2B06 #060D2B #25062B
monochromatic
#131B04 #131B04 #1F2B06 #46610D #6C9615

Accessibility & contrast

On white

14.93
#1F2B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1F2B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B06
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B06#FFFFFF#000000##FFFFFF
##1F2B061.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2702
Deuteranopia (green-blind)
#2C2709
Tritanopia (blue-blind)
#212824
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1f2b06;
/* rgb */ color: rgb(31, 43, 6);
/* oklch */ color: oklch(26.9% 0.060 125.7);
Tailwind
colors: {
  custom: {
    50: '#5b6449',
    500: '#1f2b06',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b06;
$custom-light: #5b6449;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b06",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 79.459,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26878,
    "c": 0.05973,
    "h": 125.7
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#1F2B06
secondary
#39216C
accent
#36F273
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F2B06

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

Preview Lab → · Contrast checker → · Palette generator →

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