#1F2E05#1F2E05

#1F2E05 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.066 H 127.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#1F2E05
RGBrgb(31, 46, 5)
HSLhsl(82, 80%, 10%)
HSVhsv(82, 89%, 18%)
CMYKcmyk(32.6%, 0%, 89.1%, 82%)
CIE-LABlab(16.78, -13.96, 21.83)
CIE-LCHlch(16.78, 25.91, 122.60°)
OKLaboklab(27.79% -0.0401 0.0519)
OKLCHoklch(27.79% 0.066 127.7)
XYZxyz(1.5695, 2.2562, 0.4964)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E05 #14052E
analogous
#2E2805 #1F2E05 #0B2E05
triadic
#1F2E05 #051F2E #2E051F
tetradic
#1F2E05 #052E28 #14052E #2E050B
square
#1F2E05 #052E28 #14052E #2E050B
split-complementary
#1F2E05 #050B2E #28052E
monochromatic
#131C03 #131C03 #1F2E05 #44650B #699C11

Accessibility & contrast

On white

14.47
#1F2E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1F2E05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E05
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E05#FFFFFF#000000##FFFFFF
##1F2E051.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#212B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2e05;
/* rgb */ color: rgb(31, 46, 5);
/* oklch */ color: oklch(27.8% 0.066 127.7);
Tailwind
colors: {
  custom: {
    50: '#5c6649',
    500: '#1f2e05',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e05;
$custom-light: #5c6649;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e05",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 5
  },
  "hsl": {
    "h": 81.951,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.27785,
    "c": 0.06556,
    "h": 127.7
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#1F2E05
secondary
#3D1F70
accent
#31F779
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2E05

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

Preview Lab → · Contrast checker → · Palette generator →

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