#397318#397318

#397318 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.136 H 136.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#397318
RGBrgb(57, 115, 24)
HSLhsl(98, 65%, 27%)
HSVhsv(98, 79%, 45%)
CMYKcmyk(50.4%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.06, -35.60, 41.48)
CIE-LCHlch(43.06, 54.66, 130.63°)
OKLaboklab(49.73% -0.0989 0.0928)
OKLCHoklch(49.73% 0.136 136.8)
XYZxyz(7.9827, 13.1967, 2.9906)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397318 #521873
analogous
#677318 #397318 #187325
triadic
#397318 #183973 #731839
tetradic
#397318 #186773 #521873 #732518
square
#397318 #186773 #521873 #732518
split-complementary
#397318 #251873 #731867
monochromatic
#0D1905 #20400D #397318 #52A623 #6CD431

Accessibility & contrast

On white

5.77
#397318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#397318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397318
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397318#FFFFFF#000000##FFFFFF
##3973181.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397318;
/* rgb */ color: rgb(57, 115, 24);
/* oklch */ color: oklch(49.7% 0.136 136.8);
Tailwind
colors: {
  custom: {
    50: '#769c5c',
    500: '#397318',
    950: '#000000',
  },
}
SCSS
$custom: #397318;
$custom-light: #769c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397318",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 98.242,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.13558,
    "h": 136.8
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#397318
secondary
#823FA8
accent
#3FE8AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397318

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

Preview Lab → · Contrast checker → · Palette generator →

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