#397019#397019

#397019 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.131 H 136.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#397019
RGBrgb(57, 112, 25)
HSLhsl(98, 64%, 27%)
HSVhsv(98, 78%, 44%)
CMYKcmyk(49.1%, 0%, 77.7%, 56.1%)
CIE-LABlab(42.04, -34.24, 40.11)
CIE-LCHlch(42.04, 52.74, 130.49°)
OKLaboklab(48.9% -0.0952 0.0901)
OKLCHoklch(48.9% 0.131 136.6)
XYZxyz(7.6568, 12.5279, 2.9342)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397019 #501970
analogous
#657019 #397019 #197025
triadic
#397019 #193970 #701939
tetradic
#397019 #196570 #501970 #702519
square
#397019 #196570 #501970 #702519
split-complementary
#397019 #251970 #701965
monochromatic
#0D1906 #203E0E #397019 #52A224 #6DD132

Accessibility & contrast

On white

5.99
#397019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#397019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397019
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397019#FFFFFF#000000##FFFFFF
##3970191.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#366C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397019;
/* rgb */ color: rgb(57, 112, 25);
/* oklch */ color: oklch(48.9% 0.131 136.6);
Tailwind
colors: {
  custom: {
    50: '#75995c',
    500: '#397019',
    950: '#000000',
  },
}
SCSS
$custom: #397019;
$custom-light: #75995c;
$custom-dark: #000000;
JSON
{
  "hex": "#397019",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 97.931,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48896,
    "c": 0.13102,
    "h": 136.6
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#397019
secondary
#8040A5
accent
#41E7AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397019

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

Preview Lab → · Contrast checker → · Palette generator →

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