#064223#064223

#064223 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.079 H 154.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#064223
RGBrgb(6, 66, 35)
HSLhsl(149, 83%, 14%)
HSVhsv(149, 91%, 26%)
CMYKcmyk(90.9%, 0%, 47%, 74.1%)
CIE-LABlab(23.86, -26.62, 13.83)
CIE-LCHlch(23.86, 30.00, 152.54°)
OKLaboklab(33.46% -0.0716 0.0343)
OKLCHoklch(33.46% 0.079 154.4)
XYZxyz(2.3265, 4.0562, 2.2501)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064223 #420625
analogous
#074206 #064223 #064241
triadic
#064223 #230642 #422306
tetradic
#064223 #060742 #420625 #424106
square
#064223 #060742 #420625 #424106
split-complementary
#064223 #410642 #420607
monochromatic
#031C0F #031C0F #064223 #0B7A41 #10B25F

Accessibility & contrast

On white

11.59
#064223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#064223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064223
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064223#FFFFFF#000000##FFFFFF
##0642231.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#3B3725
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #064223;
/* rgb */ color: rgb(6, 66, 35);
/* oklch */ color: oklch(33.5% 0.079 154.4);
Tailwind
colors: {
  custom: {
    50: '#52775e',
    500: '#064223',
    950: '#000000',
  },
}
SCSS
$custom: #064223;
$custom-light: #52775e;
$custom-dark: #000000;
JSON
{
  "hex": "#064223",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 35
  },
  "hsl": {
    "h": 149,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33455,
    "c": 0.07941,
    "h": 154.4
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#064223
secondary
#822253
accent
#2E97FA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #064223

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

Preview Lab → · Contrast checker → · Palette generator →

#064223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva