#1A2F07#1A2F07

#1A2F07 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.7% C 0.068 H 133.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#1A2F07
RGBrgb(26, 47, 7)
HSLhsl(92, 74%, 11%)
HSVhsv(92, 85%, 18%)
CMYKcmyk(44.7%, 0%, 85.1%, 81.6%)
CIE-LABlab(16.83, -16.65, 21.01)
CIE-LCHlch(16.83, 26.80, 128.40°)
OKLaboklab(27.75% -0.0467 0.0498)
OKLCHoklch(27.75% 0.068 133.2)
XYZxyz(1.4808, 2.2679, 0.5607)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F07 #1C072F
analogous
#2E2F07 #1A2F07 #072F08
triadic
#1A2F07 #071A2F #2F071A
tetradic
#1A2F07 #072E2F #1C072F #2F0807
square
#1A2F07 #072E2F #1C072F #2F0807
split-complementary
#1A2F07 #08072F #2F072E
monochromatic
#0F1B04 #0F1B04 #1A2F07 #37640F #559A17

Accessibility & contrast

On white

14.45
#1A2F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2F07
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F07#FFFFFF#000000##FFFFFF
##1A2F071.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B03
Deuteranopia (green-blind)
#2E290A
Tritanopia (blue-blind)
#1A2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a2f07;
/* rgb */ color: rgb(26, 47, 7);
/* oklch */ color: oklch(27.7% 0.068 133.2);
Tailwind
colors: {
  custom: {
    50: '#58674a',
    500: '#1a2f07',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f07;
$custom-light: #58674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f07",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 91.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27746,
    "c": 0.06833,
    "h": 133.2
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#1A2F07
secondary
#4B236F
accent
#37F199
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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