#1C3B02#1C3B02

#1C3B02 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.6% C 0.089 H 134.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1C3B02
RGBrgb(28, 59, 2)
HSLhsl(93, 93%, 12%)
HSVhsv(93, 97%, 23%)
CMYKcmyk(52.5%, 0%, 96.6%, 76.9%)
CIE-LABlab(21.50, -22.38, 28.47)
CIE-LCHlch(21.50, 36.22, 128.17°)
OKLaboklab(31.59% -0.0629 0.0635)
OKLCHoklch(31.59% 0.089 134.7)
XYZxyz(2.0538, 3.3791, 0.6014)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3B02 #21023B
analogous
#393B02 #1C3B02 #023B05
triadic
#1C3B02 #021C3B #3B021C
tetradic
#1C3B02 #02393B #21023B #3B0502
square
#1C3B02 #02393B #21023B #3B0502
split-complementary
#1C3B02 #05023B #3B0239
monochromatic
#0E1E01 #0E1E01 #1C3B02 #387604 #54B106

Accessibility & contrast

On white

12.53
#1C3B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C3B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3B02
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3B02#FFFFFF#000000##FFFFFF
##1C3B021.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#1B3831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c3b02;
/* rgb */ color: rgb(28, 59, 2);
/* oklch */ color: oklch(31.6% 0.089 134.7);
Tailwind
colors: {
  custom: {
    50: '#5c7149',
    500: '#1c3b02',
    950: '#000000',
  },
}
SCSS
$custom: #1c3b02;
$custom-light: #5c7149;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3b02",
  "rgb": {
    "r": 28,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 92.632,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.08941,
    "h": 134.7
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#1C3B02
secondary
#511A7E
accent
#29FF9D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1C3B02

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

Preview Lab → · Contrast checker → · Palette generator →

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