#1A3B02#1A3B02

#1A3B02 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.5% C 0.091 H 135.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1A3B02
RGBrgb(26, 59, 2)
HSLhsl(95, 93%, 12%)
HSVhsv(95, 97%, 23%)
CMYKcmyk(55.9%, 0%, 96.6%, 76.9%)
CIE-LABlab(21.40, -23.15, 28.33)
CIE-LCHlch(21.40, 36.59, 129.25°)
OKLaboklab(31.48% -0.0648 0.0633)
OKLCHoklch(31.48% 0.091 135.7)
XYZxyz(2.0009, 3.3518, 0.5989)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B02 #23023B
analogous
#373B02 #1A3B02 #023B07
triadic
#1A3B02 #021A3B #3B021A
tetradic
#1A3B02 #02373B #23023B #3B0702
square
#1A3B02 #02373B #23023B #3B0702
split-complementary
#1A3B02 #07023B #3B0237
monochromatic
#0D1E01 #0D1E01 #1A3B02 #347604 #4EB106

Accessibility & contrast

On white

12.57
#1A3B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A3B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B02
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B02#FFFFFF#000000##FFFFFF
##1A3B021.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#193831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a3b02;
/* rgb */ color: rgb(26, 59, 2);
/* oklch */ color: oklch(31.5% 0.091 135.7);
Tailwind
colors: {
  custom: {
    50: '#5b7149',
    500: '#1a3b02',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b02;
$custom-light: #5b7149;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b02",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 94.737,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31476,
    "c": 0.09061,
    "h": 135.7
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#1A3B02
secondary
#541A7E
accent
#29FFA5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1A3B02

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

Preview Lab → · Contrast checker → · Palette generator →

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