#397023#397023

#397023 is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.124 H 138.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#397023
RGBrgb(57, 112, 35)
HSLhsl(103, 52%, 29%)
HSVhsv(103, 69%, 44%)
CMYKcmyk(49.1%, 0%, 68.8%, 56.1%)
CIE-LABlab(42.12, -33.39, 35.97)
CIE-LCHlch(42.12, 49.08, 132.86°)
OKLaboklab(48.99% -0.0921 0.0828)
OKLCHoklch(48.99% 0.124 138)
XYZxyz(7.7846, 12.5790, 3.6076)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397023 #5A2370
analogous
#607023 #397023 #237034
triadic
#397023 #233970 #702339
tetradic
#397023 #236070 #5A2370 #703423
square
#397023 #236070 #5A2370 #703423
split-complementary
#397023 #342370 #702360
monochromatic
#0C1707 #214114 #397023 #519F32 #6CC648

Accessibility & contrast

On white

5.97
#397023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#397023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397023
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397023#FFFFFF#000000##FFFFFF
##3970231.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746619
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#356C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397023;
/* rgb */ color: rgb(57, 112, 35);
/* oklch */ color: oklch(49.0% 0.124 138.0);
Tailwind
colors: {
  custom: {
    50: '#759962',
    500: '#397023',
    950: '#000000',
  },
}
SCSS
$custom: #397023;
$custom-light: #759962;
$custom-dark: #000000;
JSON
{
  "hex": "#397023",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 102.857,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.12386,
    "h": 138
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#397023
secondary
#8A4CA3
accent
#4CDCB3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397023

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

Preview Lab → · Contrast checker → · Palette generator →

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