#1A2F08#1A2F08

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

Color values

HEX#1A2F08
RGBrgb(26, 47, 8)
HSLhsl(92, 71%, 11%)
HSVhsv(92, 83%, 18%)
CMYKcmyk(44.7%, 0%, 83%, 81.6%)
CIE-LABlab(16.85, -16.54, 20.61)
CIE-LCHlch(16.85, 26.43, 128.75°)
OKLaboklab(27.76% -0.0463 0.0489)
OKLCHoklch(27.76% 0.067 133.5)
XYZxyz(1.4863, 2.2701, 0.5895)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F08 #1D082F
analogous
#2D2F08 #1A2F08 #082F09
triadic
#1A2F08 #081A2F #2F081A
tetradic
#1A2F08 #082D2F #1D082F #2F0908
square
#1A2F08 #082D2F #1D082F #2F0908
split-complementary
#1A2F08 #09082F #2F082D
monochromatic
#0E1A04 #0E1A04 #1A2F08 #376311 #54981A

Accessibility & contrast

On white

14.44
#1A2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2F08
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F08#FFFFFF#000000##FFFFFF
##1A2F081.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2f08;
/* rgb */ color: rgb(26, 47, 8);
/* oklch */ color: oklch(27.8% 0.067 133.5);
Tailwind
colors: {
  custom: {
    50: '#58674b',
    500: '#1a2f08',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f08;
$custom-light: #58674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f08",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 92.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27758,
    "c": 0.06734,
    "h": 133.5
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#1A2F08
secondary
#4C256E
accent
#3AEE9B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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