#1F2E07#1F2E07

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

Color values

HEX#1F2E07
RGBrgb(31, 46, 7)
HSLhsl(83, 74%, 10%)
HSVhsv(83, 85%, 18%)
CMYKcmyk(32.6%, 0%, 84.8%, 82%)
CIE-LABlab(16.80, -13.76, 21.04)
CIE-LCHlch(16.80, 25.14, 123.18°)
OKLaboklab(27.81% -0.0393 0.0499)
OKLCHoklch(27.81% 0.063 128.2)
XYZxyz(1.5804, 2.2606, 0.5540)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E07 #16072E
analogous
#2E2907 #1F2E07 #0B2E07
triadic
#1F2E07 #071F2E #2E071F
tetradic
#1F2E07 #072E29 #16072E #2E070B
square
#1F2E07 #072E29 #16072E #2E070B
split-complementary
#1F2E07 #070B2E #29072E
monochromatic
#121B04 #121B04 #1F2E07 #43630F #679817

Accessibility & contrast

On white

14.46
#1F2E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2E07
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E07#FFFFFF#000000##FFFFFF
##1F2E071.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#202C26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2e07;
/* rgb */ color: rgb(31, 46, 7);
/* oklch */ color: oklch(27.8% 0.063 128.2);
Tailwind
colors: {
  custom: {
    50: '#5c664a',
    500: '#1f2e07',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e07;
$custom-light: #5c664a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e07",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 83.077,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27809,
    "c": 0.06348,
    "h": 128.2
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#1F2E07
secondary
#40236E
accent
#38F07F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2E07

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

Preview Lab → · Contrast checker → · Palette generator →

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