#397418#397418

#397418 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.137 H 136.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#397418
RGBrgb(57, 116, 24)
HSLhsl(98, 66%, 27%)
HSVhsv(98, 79%, 45%)
CMYKcmyk(50.9%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.40, -36.02, 41.81)
CIE-LCHlch(43.40, 55.19, 130.74°)
OKLaboklab(50.01% -0.1 0.0934)
OKLCHoklch(50.01% 0.137 136.9)
XYZxyz(8.0974, 13.4260, 3.0288)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397418 #531874
analogous
#677418 #397418 #187425
triadic
#397418 #183974 #741839
tetradic
#397418 #186774 #531874 #742518
square
#397418 #186774 #531874 #742518
split-complementary
#397418 #251874 #741867
monochromatic
#0C1905 #20410E #397418 #52A722 #6CD532

Accessibility & contrast

On white

5.70
#397418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#397418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397418
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397418#FFFFFF#000000##FFFFFF
##3974181.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#367063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397418;
/* rgb */ color: rgb(57, 116, 24);
/* oklch */ color: oklch(50.0% 0.137 136.9);
Tailwind
colors: {
  custom: {
    50: '#769c5c',
    500: '#397418',
    950: '#000000',
  },
}
SCSS
$custom: #397418;
$custom-light: #769c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397418",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 98.478,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.13688,
    "h": 136.9
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#397418
secondary
#833FA9
accent
#3FE9AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397418

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

Preview Lab → · Contrast checker → · Palette generator →

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