#023A08#023A08

#023A08 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.3% C 0.095 H 144.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#023A08
RGBrgb(2, 58, 8)
HSLhsl(126, 93%, 12%)
HSVhsv(126, 97%, 23%)
CMYKcmyk(96.6%, 0%, 86.2%, 77.3%)
CIE-LABlab(20.27, -28.67, 24.41)
CIE-LCHlch(20.27, 37.66, 139.58°)
OKLaboklab(30.33% -0.0774 0.0558)
OKLCHoklch(30.33% 0.095 144.2)
XYZxyz(1.5818, 3.0563, 0.7362)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023A08 #3A0234
analogous
#183A02 #023A08 #023A24
triadic
#023A08 #08023A #3A0802
tetradic
#023A08 #02183A #3A0234 #3A2402
square
#023A08 #02183A #3A0234 #3A2402
split-complementary
#023A08 #24023A #3A0218
monochromatic
#011E04 #011E04 #023A08 #047510 #06B018

Accessibility & contrast

On white

13.03
#023A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#023A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023A08
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023A08#FFFFFF#000000##FFFFFF
##023A081.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#003830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #023a08;
/* rgb */ color: rgb(2, 58, 8);
/* oklch */ color: oklch(30.3% 0.095 144.2);
Tailwind
colors: {
  custom: {
    50: '#4f714b',
    500: '#023a08',
    950: '#000000',
  },
}
SCSS
$custom: #023a08;
$custom-light: #4f714b;
$custom-dark: #000000;
JSON
{
  "hex": "#023a08",
  "rgb": {
    "r": 2,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 126.429,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3033,
    "c": 0.09543,
    "h": 144.2
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#023A08
secondary
#7D1A73
accent
#29E8FF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020801
muted
#787B77

Preview Lab

Preview with #023A08

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

Preview Lab → · Contrast checker → · Palette generator →

#023A08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva