#397311#397311

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

Color values

HEX#397311
RGBrgb(57, 115, 17)
HSLhsl(96, 74%, 26%)
HSVhsv(96, 85%, 45%)
CMYKcmyk(50.4%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.02, -36.02, 43.76)
CIE-LCHlch(43.02, 56.68, 129.46°)
OKLaboklab(49.68% -0.1005 0.0964)
OKLCHoklch(49.68% 0.139 136.2)
XYZxyz(7.9190, 13.1713, 2.6552)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397311 #4B1173
analogous
#6A7311 #397311 #11731A
triadic
#397311 #113973 #731139
tetradic
#397311 #116A73 #4B1173 #731A11
square
#397311 #116A73 #4B1173 #731A11
split-complementary
#397311 #1A1173 #73116A
monochromatic
#0D1B04 #1F3E09 #397311 #53A819 #6EDE21

Accessibility & contrast

On white

5.78
#397311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#397311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397311
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397311#FFFFFF#000000##FFFFFF
##3973111.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#366E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397311;
/* rgb */ color: rgb(57, 115, 17);
/* oklch */ color: oklch(49.7% 0.139 136.2);
Tailwind
colors: {
  custom: {
    50: '#769c59',
    500: '#397311',
    950: '#000000',
  },
}
SCSS
$custom: #397311;
$custom-light: #769c59;
$custom-dark: #000000;
JSON
{
  "hex": "#397311",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 95.51,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.13924,
    "h": 136.2
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#397311
secondary
#7B36AA
accent
#37F1A5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397311

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

Preview Lab → · Contrast checker → · Palette generator →

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