#1A2F03#1A2F03

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

Color values

HEX#1A2F03
RGBrgb(26, 47, 3)
HSLhsl(89, 88%, 10%)
HSVhsv(89, 94%, 18%)
CMYKcmyk(44.7%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.79, -17.09, 22.58)
CIE-LCHlch(16.79, 28.32, 127.11°)
OKLaboklab(27.7% -0.0485 0.0539)
OKLCHoklch(27.7% 0.072 132)
XYZxyz(1.4589, 2.2592, 0.4453)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F03 #18032F
analogous
#2F2E03 #1A2F03 #042F03
triadic
#1A2F03 #031A2F #2F031A
tetradic
#1A2F03 #032F2E #18032F #2F0304
square
#1A2F03 #032F2E #18032F #2F0304
split-complementary
#1A2F03 #03042F #2E032F
monochromatic
#101D02 #101D02 #1A2F03 #3A6907 #5AA20A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A2F03#FFFFFF#000000##FFFFFF
##1A2F031.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)
#322A00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#1A2D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a2f03;
/* rgb */ color: rgb(26, 47, 3);
/* oklch */ color: oklch(27.7% 0.072 132.0);
Tailwind
colors: {
  custom: {
    50: '#586748',
    500: '#1a2f03',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f03;
$custom-light: #586748;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f03",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 88.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27698,
    "c": 0.07245,
    "h": 132
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#1A2F03
secondary
#451B73
accent
#2AFE8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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