#397823#397823

#397823 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.135 H 138.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#397823
RGBrgb(57, 120, 35)
HSLhsl(104, 55%, 30%)
HSVhsv(104, 71%, 47%)
CMYKcmyk(52.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(44.83, -36.82, 38.88)
CIE-LCHlch(44.83, 53.55, 133.45°)
OKLaboklab(51.21% -0.1014 0.0889)
OKLCHoklch(51.21% 0.135 138.8)
XYZxyz(8.7069, 14.4235, 3.9150)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397823 #622378
analogous
#637823 #397823 #237838
triadic
#397823 #233978 #782339
tetradic
#397823 #236378 #622378 #783823
square
#397823 #236378 #622378 #783823
split-complementary
#397823 #382378 #782363
monochromatic
#0C1907 #224915 #397823 #50A731 #6CCA4B

Accessibility & contrast

On white

5.41
#397823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#397823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397823
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397823#FFFFFF#000000##FFFFFF
##3978231.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D17
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#347467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397823;
/* rgb */ color: rgb(57, 120, 35);
/* oklch */ color: oklch(51.2% 0.135 138.8);
Tailwind
colors: {
  custom: {
    50: '#769f63',
    500: '#397823',
    950: '#000000',
  },
}
SCSS
$custom: #397823;
$custom-light: #769f63;
$custom-dark: #000000;
JSON
{
  "hex": "#397823",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 104.471,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.13487,
    "h": 138.8
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#397823
secondary
#924CAB
accent
#4ADEB8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #397823

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

Preview Lab → · Contrast checker → · Palette generator →

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