#023B1F#023B1F

#023B1F is a dark, moderate teal. Relative luminance 0.032; OKLCH L 31.0% C 0.075 H 155.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#023B1F
RGBrgb(2, 59, 31)
HSLhsl(151, 93%, 12%)
HSVhsv(151, 97%, 23%)
CMYKcmyk(96.6%, 0%, 47.5%, 76.9%)
CIE-LABlab(20.98, -25.23, 12.58)
CIE-LCHlch(20.98, 28.19, 153.51°)
OKLaboklab(31.02% -0.0678 0.0313)
OKLCHoklch(31.02% 0.075 155.3)
XYZxyz(1.8361, 3.2395, 1.8246)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023B1F #3B021E
analogous
#023B02 #023B1F #023B3B
triadic
#023B1F #1F023B #3B1F02
tetradic
#023B1F #02023B #3B021E #3B3B02
square
#023B1F #02023B #3B021E #3B3B02
split-complementary
#023B1F #3B023B #3B0202
monochromatic
#011E10 #011E10 #023B1F #04763E #06B15D

Accessibility & contrast

On white

12.74
#023B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#023B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023B1F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023B1F#FFFFFF#000000##FFFFFF
##023B1F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351D
Deuteranopia (green-blind)
#343121
Tritanopia (blue-blind)
#003A34
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #023b1f;
/* rgb */ color: rgb(2, 59, 31);
/* oklch */ color: oklch(31.0% 0.075 155.3);
Tailwind
colors: {
  custom: {
    50: '#4f715b',
    500: '#023b1f',
    950: '#000000',
  },
}
SCSS
$custom: #023b1f;
$custom-light: #4f715b;
$custom-dark: #000000;
JSON
{
  "hex": "#023b1f",
  "rgb": {
    "r": 2,
    "g": 59,
    "b": 31
  },
  "hsl": {
    "h": 150.526,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.07468,
    "h": 155.3
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#023B1F
secondary
#7E1A4C
accent
#2992FF
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020804
muted
#787B79

Preview Lab

Preview with #023B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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